java.lang.Object
physx.NativeObject
physx.vehicle2.PxVehicleEngineState
-
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 PxVehicleEngineStatearrayGet(long baseAddress, int index) voiddestroy()floatThe rotation speed of the engine (radians per second).voidsetRotationSpeed(float value) The rotation speed of the engine (radians per second).voidstatic PxVehicleEngineStatewrapPointer(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
-
PxVehicleEngineState
protected PxVehicleEngineState(long address) -
PxVehicleEngineState
public PxVehicleEngineState()
-
-
Method Details
-
wrapPointer
-
arrayGet
-
destroy
public void destroy() -
getRotationSpeed
public float getRotationSpeed()The rotation speed of the engine (radians per second).Unit: radians / time
-
setRotationSpeed
public void setRotationSpeed(float value) The rotation speed of the engine (radians per second).Unit: radians / time
-
setToDefault
public void setToDefault()
-