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, isExternallyAllocated
-
-
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
checkNotNull, equals, getAddress, hashCode
-
-
-
-
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- WebIDL type: unsigned longspeed- WebIDL type: float
-
getWheelRotationSpeed
public float getWheelRotationSpeed(int wheelIdx)
- Parameters:
wheelIdx- WebIDL type: unsigned long- Returns:
- WebIDL type: float
-
setWheelRotationAngle
public void setWheelRotationAngle(int wheelIdx, float angle)- Parameters:
wheelIdx- WebIDL type: unsigned longangle- WebIDL type: float
-
getWheelRotationAngle
public float getWheelRotationAngle(int wheelIdx)
- Parameters:
wheelIdx- WebIDL type: unsigned long- Returns:
- WebIDL type: float
-
copy
public void copy(PxVehicleWheelsDynData src, int srcWheel, int trgWheel)
- Parameters:
src- WebIDL type:PxVehicleWheelsDynData[Const, Ref]srcWheel- WebIDL type: unsigned longtrgWheel- WebIDL type: unsigned long
-
getNbWheelRotationSpeed
public int getNbWheelRotationSpeed()
- Returns:
- WebIDL type: unsigned long
-
getNbWheelRotationAngle
public int getNbWheelRotationAngle()
- Returns:
- WebIDL type: unsigned long
-
-