java.lang.Object
physx.NativeObject
physx.character.PxObstacleContext
-
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 TypeMethodDescriptionintaddObstacle(PxObstacle obstacle) static PxObstacleContextarrayGet(long baseAddress, int index) voiddestroy()intgetObstacle(int i) getObstacleByHandle(int handle) voidrelease()booleanremoveObstacle(int handle) booleanupdateObstacle(int handle, PxObstacle obstacle) static PxObstacleContextwrapPointer(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
-
PxObstacleContext
protected PxObstacleContext() -
PxObstacleContext
protected PxObstacleContext(long address)
-
-
Method Details
-
wrapPointer
-
arrayGet
-
destroy
public void destroy() -
release
public void release() -
getControllerManager
- Returns:
- WebIDL type:
PxControllerManager[Ref]
-
addObstacle
- Parameters:
obstacle- WebIDL type:PxObstacle[Const, Ref]- Returns:
- WebIDL type: unsigned long
-
removeObstacle
public boolean removeObstacle(int handle) - Parameters:
handle- WebIDL type: unsigned long- Returns:
- WebIDL type: boolean
-
updateObstacle
- Parameters:
handle- WebIDL type: unsigned longobstacle- WebIDL type:PxObstacle[Const, Ref]- Returns:
- WebIDL type: boolean
-
getNbObstacles
public int getNbObstacles()- Returns:
- WebIDL type: unsigned long
-
getObstacle
- Parameters:
i- WebIDL type: unsigned long- Returns:
- WebIDL type:
PxObstacle[Const]
-
getObstacleByHandle
- Parameters:
handle- WebIDL type: unsigned long- Returns:
- WebIDL type:
PxObstacle[Const]
-