java.lang.Object
physx.NativeObject
physx.vehicle2.PxVehicleGearboxState
-
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 PxVehicleGearboxStatearrayGet(long baseAddress, int index) voiddestroy()intfloatintvoidsetCurrentGear(int value) voidsetGearSwitchTime(float value) voidsetTargetGear(int value) voidstatic PxVehicleGearboxStatewrapPointer(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
-
PxVehicleGearboxState
protected PxVehicleGearboxState(long address) -
PxVehicleGearboxState
public PxVehicleGearboxState()
-
-
Method Details
-
wrapPointer
-
arrayGet
-
destroy
public void destroy() -
getCurrentGear
public int getCurrentGear()- Returns:
- WebIDL type: unsigned long
-
setCurrentGear
public void setCurrentGear(int value) - Parameters:
value- WebIDL type: unsigned long
-
getTargetGear
public int getTargetGear()- Returns:
- WebIDL type: unsigned long
-
setTargetGear
public void setTargetGear(int value) - Parameters:
value- WebIDL type: unsigned long
-
getGearSwitchTime
public float getGearSwitchTime()- Returns:
- WebIDL type: float
-
setGearSwitchTime
public void setGearSwitchTime(float value) - Parameters:
value- WebIDL type: float
-
setToDefault
public void setToDefault()
-