Package physx.vehicle
Class PxVehicleWheelsDynData
- java.lang.Object
-
- physx.NativeObject
-
- physx.vehicle.PxVehicleWheelsDynData
-
public class PxVehicleWheelsDynData extends NativeObject
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class physx.NativeObject
NativeObject.Allocator<T>
-
-
Field Summary
-
Fields inherited from class physx.NativeObject
address, isStackAllocated
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedPxVehicleWheelsDynData()protectedPxVehicleWheelsDynData(long address)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcopy(PxVehicleWheelsDynData src, int srcWheel, int trgWheel)voiddestroy()intgetNbWheelRotationAngle()intgetNbWheelRotationSpeed()floatgetWheelRotationAngle(int wheelIdx)floatgetWheelRotationSpeed(int wheelIdx)voidsetToRestState()voidsetWheelRotationAngle(int wheelIdx, float angle)voidsetWheelRotationSpeed(int wheelIdx, float speed)static PxVehicleWheelsDynDatawrapPointer(long address)-
Methods inherited from class physx.NativeObject
getAddress
-
-
-
-
Method Detail
-
wrapPointer
public static PxVehicleWheelsDynData wrapPointer(long address)
-
destroy
public void destroy()
-
setToRestState
public void setToRestState()
-
setWheelRotationSpeed
public void setWheelRotationSpeed(int wheelIdx, float speed)- Parameters:
wheelIdx- unsigned longspeed- float
-
getWheelRotationSpeed
public float getWheelRotationSpeed(int wheelIdx)
- Parameters:
wheelIdx- unsigned long- Returns:
- float
-
setWheelRotationAngle
public void setWheelRotationAngle(int wheelIdx, float angle)- Parameters:
wheelIdx- unsigned longangle- float
-
getWheelRotationAngle
public float getWheelRotationAngle(int wheelIdx)
- Parameters:
wheelIdx- unsigned long- Returns:
- float
-
copy
public void copy(PxVehicleWheelsDynData src, int srcWheel, int trgWheel)
- Parameters:
src-PxVehicleWheelsDynData[Const, Ref]srcWheel- unsigned longtrgWheel- unsigned long
-
getNbWheelRotationSpeed
public int getNbWheelRotationSpeed()
- Returns:
- unsigned long
-
getNbWheelRotationAngle
public int getNbWheelRotationAngle()
- Returns:
- unsigned long
-
-