Package physx.character
Class PxObstacleContext
- java.lang.Object
-
- physx.NativeObject
-
- physx.character.PxObstacleContext
-
public class PxObstacleContext 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 protectedPxObstacleContext()protectedPxObstacleContext(long address)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intaddObstacle(PxObstacle obstacle)voiddestroy()PxControllerManagergetControllerManager()intgetNbObstacles()PxObstaclegetObstacle(int i)PxObstaclegetObstacleByHandle(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
-
-
-
-
Method Detail
-
wrapPointer
public static PxObstacleContext wrapPointer(long address)
-
destroy
public void destroy()
-
release
public void release()
-
getControllerManager
public PxControllerManager getControllerManager()
- Returns:
- WebIDL type:
PxControllerManager[Ref]
-
addObstacle
public int addObstacle(PxObstacle obstacle)
- 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
public boolean updateObstacle(int handle, PxObstacle obstacle)- 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
public PxObstacle getObstacle(int i)
- Parameters:
i- WebIDL type: unsigned long- Returns:
- WebIDL type:
PxObstacle[Const]
-
getObstacleByHandle
public PxObstacle getObstacleByHandle(int handle)
- Parameters:
handle- WebIDL type: unsigned long- Returns:
- WebIDL type:
PxObstacle[Const]
-
-