java.lang.Object
physx.NativeObject
physx.common.PxBase
physx.extensions.PxJoint
physx.extensions.PxSphericalJoint
-
Nested Class Summary
Nested classes/interfaces inherited from class physx.NativeObject
NativeObject.Allocator<T> -
Field Summary
FieldsFields inherited from class physx.NativeObject
address, isExternallyAllocated, SIZEOF_BYTE, SIZEOF_DOUBLE, SIZEOF_FLOAT, SIZEOF_INT, SIZEOF_LONG, SIZEOF_POINTER, SIZEOF_SHORT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PxSphericalJointarrayGet(long baseAddress, int index) voiddestroy()floatfloatvoidsetLimitCone(PxJointLimitCone limitCone) voidsetSphericalJointFlag(PxSphericalJointFlagEnum flag, boolean value) voidstatic PxSphericalJointwrapPointer(long address) Methods inherited from class physx.extensions.PxJoint
getConstraint, getConstraintFlags, getInvMassScale0, getInvMassScale1, getLocalPose, getName, getRelativeAngularVelocity, getRelativeLinearVelocity, getRelativeTransform, getScene, getUserData, setActors, setBreakForce, setConstraintFlag, setConstraintFlags, setInvMassScale0, setInvMassScale1, setLocalPose, setName, setUserDataMethods inherited from class physx.common.PxBase
getBaseFlags, getConcreteType, getConcreteTypeName, isReleasable, release, setBaseFlag, setBaseFlagsMethods inherited from class physx.NativeObject
checkNotNull, equals, getAddress, hashCode
-
Field Details
-
SIZEOF
public static final int SIZEOF -
ALIGNOF
public static final int ALIGNOF- See Also:
-
-
Constructor Details
-
PxSphericalJoint
protected PxSphericalJoint() -
PxSphericalJoint
protected PxSphericalJoint(long address)
-
-
Method Details
-
wrapPointer
-
arrayGet
-
destroy
public void destroy() -
setLimitCone
- Parameters:
limitCone- WebIDL type:PxJointLimitCone[Const, Ref]
-
getSwingYAngle
public float getSwingYAngle()- Returns:
- WebIDL type: float
-
getSwingZAngle
public float getSwingZAngle()- Returns:
- WebIDL type: float
-
setSphericalJointFlags
- Parameters:
flags- WebIDL type:PxSphericalJointFlags[Ref]
-
setSphericalJointFlag
- Parameters:
flag- WebIDL type:PxSphericalJointFlagEnum[enum]value- WebIDL type: boolean
-
getSphericalJointFlags
- Returns:
- WebIDL type:
PxSphericalJointFlags[Value]
-