public class PxRevoluteJoint extends PxJoint
NativeObject.Allocator<T>address, isExternallyAllocated| Modifier | Constructor and Description |
|---|---|
protected |
PxRevoluteJoint() |
protected |
PxRevoluteJoint(long address) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
float |
getAngle() |
float |
getDriveForceLimit() |
float |
getDriveGearRatio() |
float |
getDriveVelocity() |
float |
getProjectionAngularTolerance() |
float |
getProjectionLinearTolerance() |
PxRevoluteJointFlags |
getRevoluteJointFlags() |
float |
getVelocity() |
void |
setDriveForceLimit(float limit) |
void |
setDriveGearRatio(float ratio) |
void |
setDriveVelocity(float velocity) |
void |
setDriveVelocity(float velocity,
boolean autowake) |
void |
setLimit(PxJointAngularLimitPair limits) |
void |
setProjectionAngularTolerance(float tolerance) |
void |
setProjectionLinearTolerance(float tolerance) |
void |
setRevoluteJointFlag(int flag,
boolean value) |
void |
setRevoluteJointFlags(PxRevoluteJointFlags flags) |
static PxRevoluteJoint |
wrapPointer(long address) |
getConstraint, getConstraintFlags, getInvMassScale0, getInvMassScale1, getLocalPose, getName, getRelativeAngularVelocity, getRelativeLinearVelocity, getRelativeTransform, getScene, getUserData, release, setActors, setBreakForce, setConstraintFlag, setConstraintFlags, setInvMassScale0, setInvMassScale1, setLocalPose, setName, setUserDatagetBaseFlags, getConcreteType, getConcreteTypeName, isReleasable, setBaseFlag, setBaseFlagscheckNotNull, equals, getAddress, hashCodeprotected PxRevoluteJoint()
protected PxRevoluteJoint(long address)
public static PxRevoluteJoint wrapPointer(long address)
public void destroy()
public float getAngle()
public float getVelocity()
public void setLimit(PxJointAngularLimitPair limits)
limits - WebIDL type: PxJointAngularLimitPair [Const, Ref]public void setDriveVelocity(float velocity)
velocity - WebIDL type: floatpublic void setDriveVelocity(float velocity,
boolean autowake)
velocity - WebIDL type: floatautowake - WebIDL type: booleanpublic float getDriveVelocity()
public void setDriveForceLimit(float limit)
limit - WebIDL type: floatpublic float getDriveForceLimit()
public void setDriveGearRatio(float ratio)
ratio - WebIDL type: floatpublic float getDriveGearRatio()
public void setRevoluteJointFlags(PxRevoluteJointFlags flags)
flags - WebIDL type: PxRevoluteJointFlags [Ref]public void setRevoluteJointFlag(int flag,
boolean value)
flag - WebIDL type: PxRevoluteJointFlagEnum [enum]value - WebIDL type: booleanpublic PxRevoluteJointFlags getRevoluteJointFlags()
PxRevoluteJointFlags [Value]public void setProjectionLinearTolerance(float tolerance)
tolerance - WebIDL type: floatpublic float getProjectionLinearTolerance()
public void setProjectionAngularTolerance(float tolerance)
tolerance - WebIDL type: floatpublic float getProjectionAngularTolerance()