java.lang.Object
physx.NativeObject
physx.vehicle2.PxVehicleEngineDriveTransmissionCommandState
physx.vehicle2.PxVehicleTankDriveTransmissionCommandState
public class PxVehicleTankDriveTransmissionCommandState
extends PxVehicleEngineDriveTransmissionCommandState
A description of the state of transmission-related commands that are applied to a vehicle with tank drive.
-
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 TypeMethodDescriptionarrayGet(long baseAddress, int index) voiddestroy()floatgetThrusts(int index) voidsetThrusts(int index, float value) voidwrapPointer(long address) Methods inherited from class physx.vehicle2.PxVehicleEngineDriveTransmissionCommandState
getClutch, getTargetGear, setClutch, setTargetGearMethods 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
-
PxVehicleTankDriveTransmissionCommandState
protected PxVehicleTankDriveTransmissionCommandState(long address) -
PxVehicleTankDriveTransmissionCommandState
public PxVehicleTankDriveTransmissionCommandState()
-
-
Method Details
-
wrapPointer
-
arrayGet
-
destroy
public void destroy()- Overrides:
destroyin classPxVehicleEngineDriveTransmissionCommandState
-
getThrusts
public float getThrusts(int index) - Parameters:
index- Array index- Returns:
- WebIDL type: float
-
setThrusts
public void setThrusts(int index, float value) - Parameters:
index- Array indexvalue- WebIDL type: float
-
setToDefault
public void setToDefault()- Overrides:
setToDefaultin classPxVehicleEngineDriveTransmissionCommandState
-