java.lang.Object
physx.NativeObject
physx.character.PxControllerDesc
physx.character.PxCapsuleControllerDesc
-
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 PxCapsuleControllerDescarrayGet(long baseAddress, int index) static PxCapsuleControllerDesccreateAt(long address) static <T> PxCapsuleControllerDesccreateAt(T allocator, NativeObject.Allocator<T> allocate) voiddestroy()floatfloatvoidvoidsetHeight(float value) voidsetRadius(float value) voidstatic PxCapsuleControllerDescwrapPointer(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
-
PxCapsuleControllerDesc
protected PxCapsuleControllerDesc(long address) -
PxCapsuleControllerDesc
public PxCapsuleControllerDesc()
-
-
Method Details
-
wrapPointer
-
arrayGet
-
createAt
- Parameters:
address- Pre-allocated memory, where the object is created.- Returns:
- Stack allocated object of PxCapsuleControllerDesc
-
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 PxCapsuleControllerDesc
-
destroy
public void destroy() -
getRadius
public float getRadius()- Returns:
- WebIDL type: float
-
setRadius
public void setRadius(float value) - Parameters:
value- WebIDL type: float
-
getHeight
public float getHeight()- Returns:
- WebIDL type: float
-
setHeight
public void setHeight(float value) - Parameters:
value- WebIDL type: float
-
getClimbingMode
- Returns:
- WebIDL type:
PxCapsuleClimbingModeEnum[enum]
-
setClimbingMode
- Parameters:
value- WebIDL type:PxCapsuleClimbingModeEnum[enum]
-
setToDefault
public void setToDefault()
-