java.lang.Object
physx.NativeObject
physx.common.PxBase
physx.extensions.PxJoint
physx.extensions.PxPrismaticJoint
-
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 PxPrismaticJointarrayGet(long baseAddress, int index) voiddestroy()floatfloatvoidsetLimit(PxJointLinearLimitPair limit) voidsetPrismaticJointFlag(PxPrismaticJointFlagEnum flag, boolean value) voidstatic PxPrismaticJointwrapPointer(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
-
PxPrismaticJoint
protected PxPrismaticJoint() -
PxPrismaticJoint
protected PxPrismaticJoint(long address)
-
-
Method Details
-
wrapPointer
-
arrayGet
-
destroy
public void destroy() -
getPosition
public float getPosition()- Returns:
- WebIDL type: float
-
getVelocity
public float getVelocity()- Returns:
- WebIDL type: float
-
setLimit
- Parameters:
limit- WebIDL type:PxJointLinearLimitPair[Const, Ref]
-
setPrismaticJointFlags
- Parameters:
flags- WebIDL type:PxPrismaticJointFlags[Ref]
-
setPrismaticJointFlag
- Parameters:
flag- WebIDL type:PxPrismaticJointFlagEnum[enum]value- WebIDL type: boolean
-
getPrismaticJointFlags
- Returns:
- WebIDL type:
PxPrismaticJointFlags[Value]
-