java.lang.Object
physx.NativeObject
physx.character.PxObstacle
- Direct Known Subclasses:
PxBoxObstacle,PxCapsuleObstacle
Base class for obstacles.
- See Also:
-
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 PxObstaclearrayGet(long baseAddress, int index) voiddestroy()getMPos()getMRot()getType()voidsetMPos(PxExtendedVec3 value) voidvoidsetMUserData(NativeObject value) static PxObstaclewrapPointer(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
-
PxObstacle
protected PxObstacle() -
PxObstacle
protected PxObstacle(long address)
-
-
Method Details
-
wrapPointer
-
arrayGet
-
destroy
public void destroy() -
getMUserData
-
setMUserData
-
getMPos
-
setMPos
-
getMRot
-
setMRot
-
getType
- Returns:
- WebIDL type:
PxGeometryTypeEnum[enum]
-