Package physx.vehicle
Class PxVehicleTireData
- java.lang.Object
-
- physx.NativeObject
-
- physx.vehicle.PxVehicleTireData
-
public class PxVehicleTireData 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 PxVehicleTireData()protectedPxVehicleTireData(long address)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PxVehicleTireDatacreateAt(long address)static <T> PxVehicleTireDatacreateAt(T allocator, NativeObject.Allocator<T> allocate)voiddestroy()floatgetMCamberStiffnessPerUnitGravity()floatgetMLatStiffX()floatgetMLatStiffY()floatgetMLongitudinalStiffnessPerUnitGravity()intgetMType()voidsetMCamberStiffnessPerUnitGravity(float value)voidsetMLatStiffX(float value)voidsetMLatStiffY(float value)voidsetMLongitudinalStiffnessPerUnitGravity(float value)voidsetMType(int value)static PxVehicleTireDatawrapPointer(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 PxVehicleTireData wrapPointer(long address)
-
createAt
public static PxVehicleTireData createAt(long address)
- Parameters:
address- Pre-allocated memory, where the object is created.- Returns:
- Stack allocated object of PxVehicleTireData
-
createAt
public static <T> PxVehicleTireData 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 PxVehicleTireData
-
destroy
public void destroy()
-
getMLatStiffX
public float getMLatStiffX()
- Returns:
- WebIDL type: float
-
setMLatStiffX
public void setMLatStiffX(float value)
- Parameters:
value- WebIDL type: float
-
getMLatStiffY
public float getMLatStiffY()
- Returns:
- WebIDL type: float
-
setMLatStiffY
public void setMLatStiffY(float value)
- Parameters:
value- WebIDL type: float
-
getMLongitudinalStiffnessPerUnitGravity
public float getMLongitudinalStiffnessPerUnitGravity()
- Returns:
- WebIDL type: float
-
setMLongitudinalStiffnessPerUnitGravity
public void setMLongitudinalStiffnessPerUnitGravity(float value)
- Parameters:
value- WebIDL type: float
-
getMCamberStiffnessPerUnitGravity
public float getMCamberStiffnessPerUnitGravity()
- Returns:
- WebIDL type: float
-
setMCamberStiffnessPerUnitGravity
public void setMCamberStiffnessPerUnitGravity(float value)
- Parameters:
value- WebIDL type: float
-
getMType
public int getMType()
- Returns:
- WebIDL type: unsigned long
-
setMType
public void setMType(int value)
- Parameters:
value- WebIDL type: unsigned long
-
-