public class PxCapsuleControllerDesc extends PxControllerDesc
NativeObject.Allocator<T>| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF |
static int |
SIZEOF |
address, isExternallyAllocated| Modifier | Constructor and Description |
|---|---|
|
PxCapsuleControllerDesc() |
protected |
PxCapsuleControllerDesc(long address) |
| Modifier and Type | Method and Description |
|---|---|
static PxCapsuleControllerDesc |
createAt(long address) |
static <T> PxCapsuleControllerDesc |
createAt(T allocator,
NativeObject.Allocator<T> allocate) |
void |
destroy() |
int |
getClimbingMode() |
float |
getHeight() |
float |
getRadius() |
boolean |
isValid() |
void |
setClimbingMode(int value) |
void |
setHeight(float value) |
void |
setRadius(float value) |
void |
setToDefault() |
static PxCapsuleControllerDesc |
wrapPointer(long address) |
getBehaviorCallback, getContactOffset, getDensity, getInvisibleWallHeight, getMaterial, getMaxJumpHeight, getNonWalkableMode, getPosition, getRegisterDeletionListener, getReportCallback, getScaleCoeff, getSlopeLimit, getStepOffset, getType, getUpDirection, getUserData, getVolumeGrowth, setBehaviorCallback, setContactOffset, setDensity, setInvisibleWallHeight, setMaterial, setMaxJumpHeight, setNonWalkableMode, setPosition, setRegisterDeletionListener, setReportCallback, setScaleCoeff, setSlopeLimit, setStepOffset, setUpDirection, setUserData, setVolumeGrowthcheckNotNull, equals, getAddress, hashCodepublic static final int SIZEOF
public static final int ALIGNOF
protected PxCapsuleControllerDesc(long address)
public PxCapsuleControllerDesc()
public static PxCapsuleControllerDesc wrapPointer(long address)
public static PxCapsuleControllerDesc createAt(long address)
address - Pre-allocated memory, where the object is created.public static <T> PxCapsuleControllerDesc createAt(T allocator, NativeObject.Allocator<T> allocate)
T - Allocator class, e.g. LWJGL's MemoryStack.allocator - Object to use for allocation, e.g. an instance of LWJGL's MemoryStack.allocate - Method to call on allocator to obtain the target address, e.g. MemoryStack::nmalloc.public void destroy()
public float getRadius()
public void setRadius(float value)
value - WebIDL type: floatpublic float getHeight()
public void setHeight(float value)
value - WebIDL type: floatpublic int getClimbingMode()
PxCapsuleClimbingModeEnum [enum]public void setClimbingMode(int value)
value - WebIDL type: PxCapsuleClimbingModeEnum [enum]public void setToDefault()
public boolean isValid()
isValid in class PxControllerDesc