Package physx.character
Class PxBoxControllerDesc
- java.lang.Object
-
- physx.NativeObject
-
- physx.character.PxControllerDesc
-
- physx.character.PxBoxControllerDesc
-
public class PxBoxControllerDesc extends PxControllerDesc
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class physx.NativeObject
NativeObject.Allocator<T>
-
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFstatic intSIZEOF-
Fields inherited from class physx.NativeObject
address, isExternallyAllocated
-
-
Constructor Summary
Constructors Modifier Constructor Description PxBoxControllerDesc()protectedPxBoxControllerDesc(long address)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PxBoxControllerDesccreateAt(long address)static <T> PxBoxControllerDesccreateAt(T allocator, NativeObject.Allocator<T> allocate)voiddestroy()floatgetHalfForwardExtent()floatgetHalfHeight()floatgetHalfSideExtent()booleanisValid()voidsetHalfForwardExtent(float value)voidsetHalfHeight(float value)voidsetHalfSideExtent(float value)voidsetToDefault()static PxBoxControllerDescwrapPointer(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
-
-
-
-
Field Detail
-
SIZEOF
public static final int SIZEOF
-
ALIGNOF
public static final int ALIGNOF
- See Also:
- Constant Field Values
-
-
Method Detail
-
wrapPointer
public static PxBoxControllerDesc wrapPointer(long address)
-
createAt
public static PxBoxControllerDesc createAt(long address)
- Parameters:
address- Pre-allocated memory, where the object is created.- Returns:
- Stack allocated object of PxBoxControllerDesc
-
createAt
public static <T> PxBoxControllerDesc createAt(T allocator, NativeObject.Allocator<T> allocate)
- 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()
-
isValid
public boolean isValid()
- Overrides:
isValidin classPxControllerDesc- Returns:
- WebIDL type: boolean
-
-