Package physx.extensions
Class PxPrismaticJoint
- java.lang.Object
-
- physx.NativeObject
-
- physx.common.PxBase
-
- physx.extensions.PxJoint
-
- physx.extensions.PxPrismaticJoint
-
public class PxPrismaticJoint extends PxJoint
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class physx.NativeObject
NativeObject.Allocator<T>
-
-
Field Summary
-
Fields inherited from class physx.NativeObject
address, isExternallyAllocated
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedPxPrismaticJoint()protectedPxPrismaticJoint(long address)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddestroy()floatgetPosition()PxPrismaticJointFlagsgetPrismaticJointFlags()floatgetProjectionAngularTolerance()floatgetProjectionLinearTolerance()floatgetVelocity()voidsetLimit(PxJointLinearLimitPair limit)voidsetPrismaticJointFlag(int flag, boolean value)voidsetPrismaticJointFlags(PxPrismaticJointFlags flags)voidsetProjectionAngularTolerance(float tolerance)voidsetProjectionLinearTolerance(float tolerance)static PxPrismaticJointwrapPointer(long address)-
Methods inherited from class physx.extensions.PxJoint
getConstraint, getConstraintFlags, getInvMassScale0, getInvMassScale1, getLocalPose, getName, getRelativeAngularVelocity, getRelativeLinearVelocity, getRelativeTransform, getScene, release, setActors, setBreakForce, setConstraintFlag, setConstraintFlags, setInvMassScale0, setInvMassScale1, setLocalPose, setName
-
Methods inherited from class physx.common.PxBase
getBaseFlags, getConcreteType, getConcreteTypeName, isReleasable, setBaseFlag, setBaseFlags
-
Methods inherited from class physx.NativeObject
checkNotNull, equals, getAddress, hashCode
-
-
-
-
Method Detail
-
wrapPointer
public static PxPrismaticJoint wrapPointer(long address)
-
destroy
public void destroy()
-
getPosition
public float getPosition()
- Returns:
- WebIDL type: float
-
getVelocity
public float getVelocity()
- Returns:
- WebIDL type: float
-
setLimit
public void setLimit(PxJointLinearLimitPair limit)
- Parameters:
limit- WebIDL type:PxJointLinearLimitPair[Const, Ref]
-
setPrismaticJointFlags
public void setPrismaticJointFlags(PxPrismaticJointFlags flags)
- Parameters:
flags- WebIDL type:PxPrismaticJointFlags[Ref]
-
setPrismaticJointFlag
public void setPrismaticJointFlag(int flag, boolean value)- Parameters:
flag- WebIDL type:PxPrismaticJointFlagEnum[enum]value- WebIDL type: boolean
-
getPrismaticJointFlags
public PxPrismaticJointFlags getPrismaticJointFlags()
- Returns:
- WebIDL type:
PxPrismaticJointFlags[Value]
-
setProjectionLinearTolerance
public void setProjectionLinearTolerance(float tolerance)
- Parameters:
tolerance- WebIDL type: float
-
getProjectionLinearTolerance
public float getProjectionLinearTolerance()
- Returns:
- WebIDL type: float
-
setProjectionAngularTolerance
public void setProjectionAngularTolerance(float tolerance)
- Parameters:
tolerance- WebIDL type: float
-
getProjectionAngularTolerance
public float getProjectionAngularTolerance()
- Returns:
- WebIDL type: float
-
-