java.lang.Object
physx.NativeObject
physx.geometry.PxContactPoint
-
Nested Class Summary
Nested classes/interfaces inherited from class physx.NativeObject
NativeObject.Allocator<T> -
Field Summary
FieldsFields inherited from class physx.NativeObject
address, isExternallyAllocated, SIZEOF_BYTE, SIZEOF_DOUBLE, SIZEOF_FLOAT, SIZEOF_INT, SIZEOF_LONG, SIZEOF_POINTER, SIZEOF_SHORT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PxContactPointarrayGet(long baseAddress, int index) voiddestroy()floatfloatintbytefloatgetPoint()floatfloatfloatvoidsetDamping(float value) voidsetDynamicFriction(float value) voidsetInternalFaceIndex1(int value) voidsetMaterialFlags(byte value) voidsetMaxImpulse(float value) voidvoidvoidsetRestitution(float value) voidsetSeparation(float value) voidsetStaticFriction(float value) voidsetTargetVel(PxVec3 value) static PxContactPointwrapPointer(long address) Methods inherited from class physx.NativeObject
checkNotNull, equals, getAddress, hashCode
-
Field Details
-
SIZEOF
public static final int SIZEOF -
ALIGNOF
public static final int ALIGNOF- See Also:
-
-
Constructor Details
-
PxContactPoint
protected PxContactPoint(long address) -
PxContactPoint
public PxContactPoint()
-
-
Method Details
-
wrapPointer
-
arrayGet
-
destroy
public void destroy() -
getNormal
- Returns:
- WebIDL type:
PxVec3[Value]
-
setNormal
- Parameters:
value- WebIDL type:PxVec3[Value]
-
getPoint
- Returns:
- WebIDL type:
PxVec3[Value]
-
setPoint
- Parameters:
value- WebIDL type:PxVec3[Value]
-
getTargetVel
- Returns:
- WebIDL type:
PxVec3[Value]
-
setTargetVel
- Parameters:
value- WebIDL type:PxVec3[Value]
-
getSeparation
public float getSeparation()- Returns:
- WebIDL type: float
-
setSeparation
public void setSeparation(float value) - Parameters:
value- WebIDL type: float
-
getMaxImpulse
public float getMaxImpulse()- Returns:
- WebIDL type: float
-
setMaxImpulse
public void setMaxImpulse(float value) - Parameters:
value- WebIDL type: float
-
getStaticFriction
public float getStaticFriction()- Returns:
- WebIDL type: float
-
setStaticFriction
public void setStaticFriction(float value) - Parameters:
value- WebIDL type: float
-
getMaterialFlags
public byte getMaterialFlags()- Returns:
- WebIDL type: octet
-
setMaterialFlags
public void setMaterialFlags(byte value) - Parameters:
value- WebIDL type: octet
-
getInternalFaceIndex1
public int getInternalFaceIndex1()- Returns:
- WebIDL type: unsigned long
-
setInternalFaceIndex1
public void setInternalFaceIndex1(int value) - Parameters:
value- WebIDL type: unsigned long
-
getDynamicFriction
public float getDynamicFriction()- Returns:
- WebIDL type: float
-
setDynamicFriction
public void setDynamicFriction(float value) - Parameters:
value- WebIDL type: float
-
getRestitution
public float getRestitution()- Returns:
- WebIDL type: float
-
setRestitution
public void setRestitution(float value) - Parameters:
value- WebIDL type: float
-
getDamping
public float getDamping()- Returns:
- WebIDL type: float
-
setDamping
public void setDamping(float value) - Parameters:
value- WebIDL type: float
-