java.lang.Object
physx.NativeObject
physx.vehicle2.PxVehicleAutoboxState
-
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 PxVehicleAutoboxStatearrayGet(long baseAddress, int index) voiddestroy()booleanDescribes whether a gear shift triggered by the autobox is still in flight.floatTime that has lapsed since the last autobox gear shift.voidsetActiveAutoboxGearShift(boolean value) Describes whether a gear shift triggered by the autobox is still in flight.voidsetTimeSinceLastShift(float value) Time that has lapsed since the last autobox gear shift.voidstatic PxVehicleAutoboxStatewrapPointer(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
-
PxVehicleAutoboxState
protected PxVehicleAutoboxState(long address) -
PxVehicleAutoboxState
public PxVehicleAutoboxState()
-
-
Method Details
-
wrapPointer
-
arrayGet
-
destroy
public void destroy() -
getTimeSinceLastShift
public float getTimeSinceLastShift()Time that has lapsed since the last autobox gear shift.Unit: time
-
setTimeSinceLastShift
public void setTimeSinceLastShift(float value) Time that has lapsed since the last autobox gear shift.Unit: time
-
getActiveAutoboxGearShift
public boolean getActiveAutoboxGearShift()Describes whether a gear shift triggered by the autobox is still in flight. -
setActiveAutoboxGearShift
public void setActiveAutoboxGearShift(boolean value) Describes whether a gear shift triggered by the autobox is still in flight. -
setToDefault
public void setToDefault()
-