public class PxConstraint extends PxBase
NativeObject.Allocator<T>address, isExternallyAllocated| Modifier | Constructor and Description |
|---|---|
protected |
PxConstraint() |
protected |
PxConstraint(long address) |
| Modifier and Type | Method and Description |
|---|---|
PxConstraintFlags |
getFlags() |
void |
getForce(PxVec3 linear,
PxVec3 angular) |
float |
getMinResponseThreshold() |
PxScene |
getScene() |
boolean |
isValid() |
void |
markDirty() |
void |
release() |
void |
setActors(PxRigidActor actor0,
PxRigidActor actor1) |
void |
setBreakForce(float linear,
float angular) |
void |
setFlag(int flag,
boolean value) |
void |
setFlags(PxConstraintFlags flags) |
void |
setMinResponseThreshold(float threshold) |
static PxConstraint |
wrapPointer(long address) |
getBaseFlags, getConcreteType, getConcreteTypeName, isReleasable, setBaseFlag, setBaseFlagscheckNotNull, equals, getAddress, hashCodeprotected PxConstraint()
protected PxConstraint(long address)
public static PxConstraint wrapPointer(long address)
public void setActors(PxRigidActor actor0, PxRigidActor actor1)
actor0 - WebIDL type: PxRigidActoractor1 - WebIDL type: PxRigidActorpublic void markDirty()
public void setFlags(PxConstraintFlags flags)
flags - WebIDL type: PxConstraintFlags [Ref]public PxConstraintFlags getFlags()
PxConstraintFlags [Value]public void setFlag(int flag,
boolean value)
flag - WebIDL type: PxConstraintFlagEnum [enum]value - WebIDL type: booleanpublic boolean isValid()
public void setBreakForce(float linear,
float angular)
linear - WebIDL type: floatangular - WebIDL type: floatpublic void setMinResponseThreshold(float threshold)
threshold - WebIDL type: floatpublic float getMinResponseThreshold()