public class PxBoxControllerDesc extends PxControllerDesc
NativeObject.Allocator<T>| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF |
static int |
SIZEOF |
address, isExternallyAllocated| Modifier | Constructor and Description |
|---|---|
|
PxBoxControllerDesc() |
protected |
PxBoxControllerDesc(long address) |
| Modifier and Type | Method and Description |
|---|---|
static PxBoxControllerDesc |
createAt(long address) |
static <T> PxBoxControllerDesc |
createAt(T allocator,
NativeObject.Allocator<T> allocate) |
void |
destroy() |
float |
getHalfForwardExtent() |
float |
getHalfHeight() |
float |
getHalfSideExtent() |
boolean |
isValid() |
void |
setHalfForwardExtent(float value) |
void |
setHalfHeight(float value) |
void |
setHalfSideExtent(float value) |
void |
setToDefault() |
static PxBoxControllerDesc |
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 PxBoxControllerDesc(long address)
public PxBoxControllerDesc()
public static PxBoxControllerDesc wrapPointer(long address)
public static PxBoxControllerDesc createAt(long address)
address - Pre-allocated memory, where the object is created.public static <T> PxBoxControllerDesc 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 getHalfHeight()
public void setHalfHeight(float value)
value - WebIDL type: floatpublic float getHalfSideExtent()
public void setHalfSideExtent(float value)
value - WebIDL type: floatpublic float getHalfForwardExtent()
public void setHalfForwardExtent(float value)
value - WebIDL type: floatpublic void setToDefault()
public boolean isValid()
isValid in class PxControllerDesc