public class PxJoint extends PxBase
NativeObject.Allocator<T>address, isExternallyAllocated| Modifier | Constructor and Description |
|---|---|
protected |
PxJoint() |
protected |
PxJoint(long address) |
| Modifier and Type | Method and Description |
|---|---|
PxConstraint |
getConstraint() |
PxConstraintFlags |
getConstraintFlags() |
float |
getInvMassScale0() |
float |
getInvMassScale1() |
PxTransform |
getLocalPose(int actor) |
java.lang.String |
getName() |
PxVec3 |
getRelativeAngularVelocity() |
PxVec3 |
getRelativeLinearVelocity() |
PxTransform |
getRelativeTransform() |
PxScene |
getScene() |
NativeObject |
getUserData() |
void |
release() |
void |
setActors(PxRigidActor actor0,
PxRigidActor actor1) |
void |
setBreakForce(float force,
float torque) |
void |
setConstraintFlag(int flag,
boolean value) |
void |
setConstraintFlags(PxConstraintFlags flags) |
void |
setInvMassScale0(float invMassScale) |
void |
setInvMassScale1(float invMassScale) |
void |
setLocalPose(int actor,
PxTransform localPose) |
void |
setName(java.lang.String name) |
void |
setUserData(NativeObject value) |
static PxJoint |
wrapPointer(long address) |
getBaseFlags, getConcreteType, getConcreteTypeName, isReleasable, setBaseFlag, setBaseFlagscheckNotNull, equals, getAddress, hashCodepublic static PxJoint wrapPointer(long address)
public NativeObject getUserData()
public void setUserData(NativeObject value)
value - WebIDL type: VoidPtrpublic void setActors(PxRigidActor actor0, PxRigidActor actor1)
actor0 - WebIDL type: PxRigidActoractor1 - WebIDL type: PxRigidActorpublic void setLocalPose(int actor,
PxTransform localPose)
actor - WebIDL type: PxJointActorIndexEnum [enum]localPose - WebIDL type: PxTransform [Const, Ref]public PxTransform getLocalPose(int actor)
actor - WebIDL type: PxJointActorIndexEnum [enum]PxTransform [Value]public PxTransform getRelativeTransform()
PxTransform [Value]public PxVec3 getRelativeLinearVelocity()
PxVec3 [Value]public PxVec3 getRelativeAngularVelocity()
PxVec3 [Value]public void setBreakForce(float force,
float torque)
force - WebIDL type: floattorque - WebIDL type: floatpublic void setConstraintFlags(PxConstraintFlags flags)
flags - WebIDL type: PxConstraintFlags [Ref]public void setConstraintFlag(int flag,
boolean value)
flag - WebIDL type: PxConstraintFlagEnum [enum]value - WebIDL type: booleanpublic PxConstraintFlags getConstraintFlags()
PxConstraintFlags [Value]public void setInvMassScale0(float invMassScale)
invMassScale - WebIDL type: floatpublic float getInvMassScale0()
public void setInvMassScale1(float invMassScale)
invMassScale - WebIDL type: floatpublic float getInvMassScale1()
public PxConstraint getConstraint()
PxConstraintpublic void setName(java.lang.String name)
name - WebIDL type: DOMString [Const]public java.lang.String getName()