Package physx.character
Class PxCapsuleControllerDesc
- java.lang.Object
-
- physx.NativeObject
-
- physx.character.PxControllerDesc
-
- physx.character.PxCapsuleControllerDesc
-
public class PxCapsuleControllerDesc extends PxControllerDesc
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class physx.NativeObject
NativeObject.Allocator<T>
-
-
Field Summary
-
Fields inherited from class physx.NativeObject
address, isExternallyAllocated
-
-
Constructor Summary
Constructors Modifier Constructor Description PxCapsuleControllerDesc()protectedPxCapsuleControllerDesc(long address)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddestroy()intgetClimbingMode()floatgetHeight()floatgetRadius()booleanisValid()voidsetClimbingMode(int value)voidsetHeight(float value)voidsetRadius(float value)voidsetToDefault()static PxCapsuleControllerDescwrapPointer(long address)-
Methods inherited from class physx.character.PxControllerDesc
getContactOffset, getDensity, getInvisibleWallHeight, getMaterial, getMaxJumpHeight, getNonWalkableMode, getPosition, getRegisterDeletionListener, getReportCallback, getScaleCoeff, getSlopeLimit, getStepOffset, getType, getUpDirection, getUserData, getVolumeGrowth, setContactOffset, setDensity, setInvisibleWallHeight, setMaterial, setMaxJumpHeight, setNonWalkableMode, setPosition, setRegisterDeletionListener, setReportCallback, setScaleCoeff, setSlopeLimit, setStepOffset, setUpDirection, setUserData, setVolumeGrowth
-
Methods inherited from class physx.NativeObject
checkNotNull, equals, getAddress, hashCode
-
-
-
-
Method Detail
-
wrapPointer
public static PxCapsuleControllerDesc wrapPointer(long address)
-
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
public int getClimbingMode()
- Returns:
- WebIDL type:
PxCapsuleClimbingModeEnum[enum]
-
setClimbingMode
public void setClimbingMode(int value)
- Parameters:
value- WebIDL type:PxCapsuleClimbingModeEnum[enum]
-
setToDefault
public void setToDefault()
-
isValid
public boolean isValid()
- Overrides:
isValidin classPxControllerDesc- Returns:
- WebIDL type: boolean
-
-