java.lang.Object
physx.NativeObject
physx.character.PxControllerHit
- Direct Known Subclasses:
PxControllerObstacleHit,PxControllerShapeHit,PxControllersHit
-
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 PxControllerHitarrayGet(long baseAddress, int index) voiddestroy()getDir()floatvoidsetController(PxController value) voidvoidsetLength(float value) voidsetWorldNormal(PxVec3 value) voidsetWorldPos(PxExtendedVec3 value) static PxControllerHitwrapPointer(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
-
PxControllerHit
protected PxControllerHit() -
PxControllerHit
protected PxControllerHit(long address)
-
-
Method Details
-
wrapPointer
-
arrayGet
-
destroy
public void destroy() -
getController
- Returns:
- WebIDL type:
PxController
-
setController
- Parameters:
value- WebIDL type:PxController
-
getWorldPos
- Returns:
- WebIDL type:
PxExtendedVec3[Value]
-
setWorldPos
- Parameters:
value- WebIDL type:PxExtendedVec3[Value]
-
getWorldNormal
- Returns:
- WebIDL type:
PxVec3[Value]
-
setWorldNormal
- Parameters:
value- WebIDL type:PxVec3[Value]
-
getDir
- Returns:
- WebIDL type:
PxVec3[Value]
-
setDir
- Parameters:
value- WebIDL type:PxVec3[Value]
-
getLength
public float getLength()- Returns:
- WebIDL type: float
-
setLength
public void setLength(float value) - Parameters:
value- WebIDL type: float
-