java.lang.Object
physx.NativeObject
physx.character.PxControllerDesc
physx.character.PxBoxControllerDesc
-
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 TypeMethodDescriptionstatic PxBoxControllerDescarrayGet(long baseAddress, int index) static PxBoxControllerDesccreateAt(long address) static <T> PxBoxControllerDesccreateAt(T allocator, NativeObject.Allocator<T> allocate) voiddestroy()floatfloatfloatvoidsetHalfForwardExtent(float value) voidsetHalfHeight(float value) voidsetHalfSideExtent(float value) voidstatic PxBoxControllerDescwrapPointer(long address) Methods inherited from class physx.character.PxControllerDesc
getBehaviorCallback, getContactOffset, getDensity, getInvisibleWallHeight, getMaterial, getMaxJumpHeight, getNonWalkableMode, getPosition, getRegisterDeletionListener, getReportCallback, getScaleCoeff, getSlopeLimit, getStepOffset, getType, getUpDirection, getUserData, getVolumeGrowth, isValid, setBehaviorCallback, setContactOffset, setDensity, setInvisibleWallHeight, setMaterial, setMaxJumpHeight, setNonWalkableMode, setPosition, setRegisterDeletionListener, setReportCallback, setScaleCoeff, setSlopeLimit, setStepOffset, setUpDirection, setUserData, setVolumeGrowthMethods 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
-
PxBoxControllerDesc
protected PxBoxControllerDesc(long address) -
PxBoxControllerDesc
public PxBoxControllerDesc()
-
-
Method Details
-
wrapPointer
-
arrayGet
-
createAt
- Parameters:
address- Pre-allocated memory, where the object is created.- Returns:
- Stack allocated object of PxBoxControllerDesc
-
createAt
- Type Parameters:
T- Allocator class, e.g. LWJGL's MemoryStack.- Parameters:
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.- Returns:
- Stack allocated object of PxBoxControllerDesc
-
destroy
public void destroy() -
getHalfHeight
public float getHalfHeight()- Returns:
- WebIDL type: float
-
setHalfHeight
public void setHalfHeight(float value) - Parameters:
value- WebIDL type: float
-
getHalfSideExtent
public float getHalfSideExtent()- Returns:
- WebIDL type: float
-
setHalfSideExtent
public void setHalfSideExtent(float value) - Parameters:
value- WebIDL type: float
-
getHalfForwardExtent
public float getHalfForwardExtent()- Returns:
- WebIDL type: float
-
setHalfForwardExtent
public void setHalfForwardExtent(float value) - Parameters:
value- WebIDL type: float
-
setToDefault
public void setToDefault()
-