public class PxObstacleContext extends NativeObject
NativeObject.Allocator<T>address, isExternallyAllocated| Modifier | Constructor and Description |
|---|---|
protected |
PxObstacleContext() |
protected |
PxObstacleContext(long address) |
| Modifier and Type | Method and Description |
|---|---|
int |
addObstacle(PxObstacle obstacle) |
void |
destroy() |
PxControllerManager |
getControllerManager() |
int |
getNbObstacles() |
PxObstacle |
getObstacle(int i) |
PxObstacle |
getObstacleByHandle(int handle) |
void |
release() |
boolean |
removeObstacle(int handle) |
boolean |
updateObstacle(int handle,
PxObstacle obstacle) |
static PxObstacleContext |
wrapPointer(long address) |
checkNotNull, equals, getAddress, hashCodeprotected PxObstacleContext()
protected PxObstacleContext(long address)
public static PxObstacleContext wrapPointer(long address)
public void destroy()
public void release()
public PxControllerManager getControllerManager()
PxControllerManager [Ref]public int addObstacle(PxObstacle obstacle)
obstacle - WebIDL type: PxObstacle [Const, Ref]public boolean removeObstacle(int handle)
handle - WebIDL type: unsigned longpublic boolean updateObstacle(int handle,
PxObstacle obstacle)
handle - WebIDL type: unsigned longobstacle - WebIDL type: PxObstacle [Const, Ref]public int getNbObstacles()
public PxObstacle getObstacle(int i)
i - WebIDL type: unsigned longPxObstacle [Const]public PxObstacle getObstacleByHandle(int handle)
handle - WebIDL type: unsigned longPxObstacle [Const]