java.lang.Object
physx.NativeObject
physx.vehicle2.PxVehicleCommandState
-
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 PxVehicleCommandStatearrayGet(long baseAddress, int index) voiddestroy()floatgetBrakes(int index) intfloatgetSteer()floatvoidsetBrakes(int index, float value) voidsetNbBrakes(int value) voidsetSteer(float value) voidsetThrottle(float value) voidstatic PxVehicleCommandStatewrapPointer(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
-
PxVehicleCommandState
protected PxVehicleCommandState(long address) -
PxVehicleCommandState
public PxVehicleCommandState()
-
-
Method Details
-
wrapPointer
-
arrayGet
-
destroy
public void destroy() -
getBrakes
public float getBrakes(int index) - Parameters:
index- Array index- Returns:
- WebIDL type: float
-
setBrakes
public void setBrakes(int index, float value) - Parameters:
index- Array indexvalue- WebIDL type: float
-
getNbBrakes
public int getNbBrakes()- Returns:
- WebIDL type: unsigned long
-
setNbBrakes
public void setNbBrakes(int value) - Parameters:
value- WebIDL type: unsigned long
-
getThrottle
public float getThrottle()- Returns:
- WebIDL type: float
-
setThrottle
public void setThrottle(float value) - Parameters:
value- WebIDL type: float
-
getSteer
public float getSteer()- Returns:
- WebIDL type: float
-
setSteer
public void setSteer(float value) - Parameters:
value- WebIDL type: float
-
setToDefault
public void setToDefault()
-