Package physx.character
Class PxObstacle
- java.lang.Object
-
- physx.NativeObject
-
- physx.character.PxObstacle
-
- Direct Known Subclasses:
PxBoxObstacle,PxCapsuleObstacle
public class PxObstacle extends NativeObject
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class physx.NativeObject
NativeObject.Allocator<T>
-
-
Field Summary
-
Fields inherited from class physx.NativeObject
address, isExternallyAllocated
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedPxObstacle()protectedPxObstacle(long address)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddestroy()PxExtendedVec3getMPos()PxQuatgetMRot()NativeObjectgetMUserData()intgetType()voidsetMPos(PxExtendedVec3 value)voidsetMRot(PxQuat value)voidsetMUserData(NativeObject value)static PxObstaclewrapPointer(long address)-
Methods inherited from class physx.NativeObject
checkNotNull, equals, getAddress, hashCode
-
-
-
-
Method Detail
-
wrapPointer
public static PxObstacle wrapPointer(long address)
-
destroy
public void destroy()
-
getMUserData
public NativeObject getMUserData()
- Returns:
- WebIDL type: VoidPtr
-
setMUserData
public void setMUserData(NativeObject value)
- Parameters:
value- WebIDL type: VoidPtr
-
getMPos
public PxExtendedVec3 getMPos()
- Returns:
- WebIDL type:
PxExtendedVec3[Value]
-
setMPos
public void setMPos(PxExtendedVec3 value)
- Parameters:
value- WebIDL type:PxExtendedVec3[Value]
-
getType
public int getType()
- Returns:
- WebIDL type:
PxGeometryTypeEnum[enum]
-
-