java.lang.Object
physx.NativeObject
physx.character.PxControllerDesc
- Direct Known Subclasses:
PxBoxControllerDesc,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 PxControllerDescarrayGet(long baseAddress, int index) floatfloatfloatfloatbooleanfloatfloatfloatgetType()floatbooleanisValid()voidvoidsetContactOffset(float value) voidsetDensity(float value) voidsetInvisibleWallHeight(float value) voidsetMaterial(PxMaterial value) voidsetMaxJumpHeight(float value) voidvoidsetPosition(PxExtendedVec3 value) voidsetRegisterDeletionListener(boolean value) voidvoidsetScaleCoeff(float value) voidsetSlopeLimit(float value) voidsetStepOffset(float value) voidsetUpDirection(PxVec3 value) voidsetUserData(NativeObject value) voidsetVolumeGrowth(float value) static PxControllerDescwrapPointer(long address) Methods 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
-
PxControllerDesc
protected PxControllerDesc() -
PxControllerDesc
protected PxControllerDesc(long address)
-
-
Method Details
-
wrapPointer
-
arrayGet
-
getPosition
- Returns:
- WebIDL type:
PxExtendedVec3[Value]
-
setPosition
- Parameters:
value- WebIDL type:PxExtendedVec3[Value]
-
getUpDirection
- Returns:
- WebIDL type:
PxVec3[Value]
-
setUpDirection
- Parameters:
value- WebIDL type:PxVec3[Value]
-
getSlopeLimit
public float getSlopeLimit()- Returns:
- WebIDL type: float
-
setSlopeLimit
public void setSlopeLimit(float value) - Parameters:
value- WebIDL type: float
-
getInvisibleWallHeight
public float getInvisibleWallHeight()- Returns:
- WebIDL type: float
-
setInvisibleWallHeight
public void setInvisibleWallHeight(float value) - Parameters:
value- WebIDL type: float
-
getMaxJumpHeight
public float getMaxJumpHeight()- Returns:
- WebIDL type: float
-
setMaxJumpHeight
public void setMaxJumpHeight(float value) - Parameters:
value- WebIDL type: float
-
getContactOffset
public float getContactOffset()- Returns:
- WebIDL type: float
-
setContactOffset
public void setContactOffset(float value) - Parameters:
value- WebIDL type: float
-
getStepOffset
public float getStepOffset()- Returns:
- WebIDL type: float
-
setStepOffset
public void setStepOffset(float value) - Parameters:
value- WebIDL type: float
-
getDensity
public float getDensity()- Returns:
- WebIDL type: float
-
setDensity
public void setDensity(float value) - Parameters:
value- WebIDL type: float
-
getScaleCoeff
public float getScaleCoeff()- Returns:
- WebIDL type: float
-
setScaleCoeff
public void setScaleCoeff(float value) - Parameters:
value- WebIDL type: float
-
getVolumeGrowth
public float getVolumeGrowth()- Returns:
- WebIDL type: float
-
setVolumeGrowth
public void setVolumeGrowth(float value) - Parameters:
value- WebIDL type: float
-
getReportCallback
- Returns:
- WebIDL type:
PxUserControllerHitReport
-
setReportCallback
- Parameters:
value- WebIDL type:PxUserControllerHitReport
-
getBehaviorCallback
- Returns:
- WebIDL type:
PxControllerBehaviorCallback
-
setBehaviorCallback
- Parameters:
value- WebIDL type:PxControllerBehaviorCallback
-
getNonWalkableMode
- Returns:
- WebIDL type:
PxControllerNonWalkableModeEnum[enum]
-
setNonWalkableMode
- Parameters:
value- WebIDL type:PxControllerNonWalkableModeEnum[enum]
-
getMaterial
- Returns:
- WebIDL type:
PxMaterial
-
setMaterial
- Parameters:
value- WebIDL type:PxMaterial
-
getRegisterDeletionListener
public boolean getRegisterDeletionListener()- Returns:
- WebIDL type: boolean
-
setRegisterDeletionListener
public void setRegisterDeletionListener(boolean value) - Parameters:
value- WebIDL type: boolean
-
getUserData
- Returns:
- WebIDL type: VoidPtr
-
setUserData
- Parameters:
value- WebIDL type: VoidPtr
-
isValid
public boolean isValid()- Returns:
- WebIDL type: boolean
-
getType
- Returns:
- WebIDL type:
PxControllerShapeTypeEnum[enum]
-