Package physx.vehicle
Class PxVehicleWheelData
- java.lang.Object
-
- physx.NativeObject
-
- physx.vehicle.PxVehicleWheelData
-
public class PxVehicleWheelData extends NativeObject
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class physx.NativeObject
NativeObject.Allocator<T>
-
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFstatic intSIZEOF-
Fields inherited from class physx.NativeObject
address, isExternallyAllocated
-
-
Constructor Summary
Constructors Modifier Constructor Description PxVehicleWheelData()protectedPxVehicleWheelData(long address)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PxVehicleWheelDatacreateAt(long address)static <T> PxVehicleWheelDatacreateAt(T allocator, NativeObject.Allocator<T> allocate)voiddestroy()floatgetMDampingRate()floatgetMMass()floatgetMMaxBrakeTorque()floatgetMMaxHandBrakeTorque()floatgetMMaxSteer()floatgetMMOI()floatgetMRadius()floatgetMToeAngle()floatgetMWidth()voidsetMDampingRate(float value)voidsetMMass(float value)voidsetMMaxBrakeTorque(float value)voidsetMMaxHandBrakeTorque(float value)voidsetMMaxSteer(float value)voidsetMMOI(float value)voidsetMRadius(float value)voidsetMToeAngle(float value)voidsetMWidth(float value)static PxVehicleWheelDatawrapPointer(long address)-
Methods inherited from class physx.NativeObject
checkNotNull, equals, getAddress, hashCode
-
-
-
-
Field Detail
-
SIZEOF
public static final int SIZEOF
-
ALIGNOF
public static final int ALIGNOF
- See Also:
- Constant Field Values
-
-
Method Detail
-
wrapPointer
public static PxVehicleWheelData wrapPointer(long address)
-
createAt
public static PxVehicleWheelData createAt(long address)
- Parameters:
address- Pre-allocated memory, where the object is created.- Returns:
- Stack allocated object of PxVehicleWheelData
-
createAt
public static <T> PxVehicleWheelData createAt(T allocator, NativeObject.Allocator<T> allocate)
- Type Parameters:
T- Allocator class, e.g. LWJGL's MemoryStack.- Parameters:
allocator- Object to use for allocation, e.g. an instance of LWJGL's MemoryStack.allocate- Method to call on allocator to obtain the target address, e.g. MemoryStack::nmalloc.- Returns:
- Stack allocated object of PxVehicleWheelData
-
destroy
public void destroy()
-
getMRadius
public float getMRadius()
- Returns:
- WebIDL type: float
-
setMRadius
public void setMRadius(float value)
- Parameters:
value- WebIDL type: float
-
getMWidth
public float getMWidth()
- Returns:
- WebIDL type: float
-
setMWidth
public void setMWidth(float value)
- Parameters:
value- WebIDL type: float
-
getMMass
public float getMMass()
- Returns:
- WebIDL type: float
-
setMMass
public void setMMass(float value)
- Parameters:
value- WebIDL type: float
-
getMMOI
public float getMMOI()
- Returns:
- WebIDL type: float
-
setMMOI
public void setMMOI(float value)
- Parameters:
value- WebIDL type: float
-
getMDampingRate
public float getMDampingRate()
- Returns:
- WebIDL type: float
-
setMDampingRate
public void setMDampingRate(float value)
- Parameters:
value- WebIDL type: float
-
getMMaxBrakeTorque
public float getMMaxBrakeTorque()
- Returns:
- WebIDL type: float
-
setMMaxBrakeTorque
public void setMMaxBrakeTorque(float value)
- Parameters:
value- WebIDL type: float
-
getMMaxHandBrakeTorque
public float getMMaxHandBrakeTorque()
- Returns:
- WebIDL type: float
-
setMMaxHandBrakeTorque
public void setMMaxHandBrakeTorque(float value)
- Parameters:
value- WebIDL type: float
-
getMMaxSteer
public float getMMaxSteer()
- Returns:
- WebIDL type: float
-
setMMaxSteer
public void setMMaxSteer(float value)
- Parameters:
value- WebIDL type: float
-
getMToeAngle
public float getMToeAngle()
- Returns:
- WebIDL type: float
-
setMToeAngle
public void setMToeAngle(float value)
- Parameters:
value- WebIDL type: float
-
-