java.lang.Object
physx.NativeObject
physx.vehicle2.PxVehicleWheelActuationState
It is useful to know if a brake or drive torque is to be applied to a wheel.
-
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 PxVehicleWheelActuationStatearrayGet(long baseAddress, int index) voiddestroy()booleanTrue if a brake torque is applied, false if not.booleanTrue if a drive torque is applied, false if not.voidsetIsBrakeApplied(boolean value) True if a brake torque is applied, false if not.voidsetIsDriveApplied(boolean value) True if a drive torque is applied, false if not.voidstatic PxVehicleWheelActuationStatewrapPointer(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
-
PxVehicleWheelActuationState
protected PxVehicleWheelActuationState(long address) -
PxVehicleWheelActuationState
public PxVehicleWheelActuationState()
-
-
Method Details
-
wrapPointer
-
arrayGet
-
destroy
public void destroy() -
getIsBrakeApplied
public boolean getIsBrakeApplied()True if a brake torque is applied, false if not. -
setIsBrakeApplied
public void setIsBrakeApplied(boolean value) True if a brake torque is applied, false if not. -
getIsDriveApplied
public boolean getIsDriveApplied()True if a drive torque is applied, false if not. -
setIsDriveApplied
public void setIsDriveApplied(boolean value) True if a drive torque is applied, false if not. -
setToDefault
public void setToDefault()
-