public class PxMaterial extends PxBase
NativeObject.Allocator<T>address, isExternallyAllocated| Modifier | Constructor and Description |
|---|---|
protected |
PxMaterial() |
protected |
PxMaterial(long address) |
| Modifier and Type | Method and Description |
|---|---|
void |
acquireReference() |
float |
getDynamicFriction() |
PxMaterialFlags |
getFlags() |
int |
getFrictionCombineMode() |
int |
getReferenceCount() |
float |
getRestitution() |
int |
getRestitutionCombineMode() |
float |
getStaticFriction() |
NativeObject |
getUserData() |
void |
setDynamicFriction(float coef) |
void |
setFlag(int flag,
boolean b) |
void |
setFlags(PxMaterialFlags flags) |
void |
setFrictionCombineMode(int combMode) |
void |
setRestitution(float coef) |
void |
setRestitutionCombineMode(int combMode) |
void |
setStaticFriction(float coef) |
void |
setUserData(NativeObject value) |
static PxMaterial |
wrapPointer(long address) |
getBaseFlags, getConcreteType, getConcreteTypeName, isReleasable, release, setBaseFlag, setBaseFlagscheckNotNull, equals, getAddress, hashCodepublic static PxMaterial wrapPointer(long address)
public NativeObject getUserData()
public void setUserData(NativeObject value)
value - WebIDL type: VoidPtrpublic int getReferenceCount()
public void acquireReference()
public void setDynamicFriction(float coef)
coef - WebIDL type: floatpublic float getDynamicFriction()
public void setStaticFriction(float coef)
coef - WebIDL type: floatpublic float getStaticFriction()
public void setRestitution(float coef)
coef - WebIDL type: floatpublic float getRestitution()
public void setFlag(int flag,
boolean b)
flag - WebIDL type: PxMaterialFlagEnum [enum]b - WebIDL type: booleanpublic void setFlags(PxMaterialFlags flags)
flags - WebIDL type: PxMaterialFlags [Ref]public PxMaterialFlags getFlags()
PxMaterialFlags [Value]public void setFrictionCombineMode(int combMode)
combMode - WebIDL type: PxCombineModeEnum [enum]public int getFrictionCombineMode()
PxCombineModeEnum [enum]public void setRestitutionCombineMode(int combMode)
combMode - WebIDL type: PxCombineModeEnum [enum]public int getRestitutionCombineMode()
PxCombineModeEnum [enum]