java.lang.Object
physx.NativeObject
physx.vehicle2.PxVehicleEngineDriveTransmissionCommandState
- Direct Known Subclasses:
PxVehicleTankDriveTransmissionCommandState
-
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
ConstructorsModifierConstructorDescriptionprotectedPxVehicleEngineDriveTransmissionCommandState(long address) -
Method Summary
Modifier and TypeMethodDescriptionarrayGet(long baseAddress, int index) voiddestroy()floatintvoidsetClutch(float value) voidsetTargetGear(int value) voidwrapPointer(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
-
PxVehicleEngineDriveTransmissionCommandState
protected PxVehicleEngineDriveTransmissionCommandState(long address) -
PxVehicleEngineDriveTransmissionCommandState
public PxVehicleEngineDriveTransmissionCommandState()
-
-
Method Details
-
wrapPointer
-
arrayGet
-
destroy
public void destroy() -
getClutch
public float getClutch()- Returns:
- WebIDL type: float
-
setClutch
public void setClutch(float value) - Parameters:
value- WebIDL type: float
-
getTargetGear
public int getTargetGear()- Returns:
- WebIDL type: unsigned long
-
setTargetGear
public void setTargetGear(int value) - Parameters:
value- WebIDL type: unsigned long
-
setToDefault
public void setToDefault()
-