Package physx.vehicle
Class PxVehicleAntiRollBarData
- java.lang.Object
-
- physx.NativeObject
-
- physx.vehicle.PxVehicleAntiRollBarData
-
public class PxVehicleAntiRollBarData 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 PxVehicleAntiRollBarData()protectedPxVehicleAntiRollBarData(long address)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PxVehicleAntiRollBarDatacreateAt(long address)static <T> PxVehicleAntiRollBarDatacreateAt(T allocator, NativeObject.Allocator<T> allocate)voiddestroy()floatgetMStiffness()intgetMWheel0()intgetMWheel1()voidsetMStiffness(float value)voidsetMWheel0(int value)voidsetMWheel1(int value)static PxVehicleAntiRollBarDatawrapPointer(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 PxVehicleAntiRollBarData wrapPointer(long address)
-
createAt
public static PxVehicleAntiRollBarData createAt(long address)
- Parameters:
address- Pre-allocated memory, where the object is created.- Returns:
- Stack allocated object of PxVehicleAntiRollBarData
-
createAt
public static <T> PxVehicleAntiRollBarData 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 PxVehicleAntiRollBarData
-
destroy
public void destroy()
-
getMWheel0
public int getMWheel0()
- Returns:
- WebIDL type: unsigned long
-
setMWheel0
public void setMWheel0(int value)
- Parameters:
value- WebIDL type: unsigned long
-
getMWheel1
public int getMWheel1()
- Returns:
- WebIDL type: unsigned long
-
setMWheel1
public void setMWheel1(int value)
- Parameters:
value- WebIDL type: unsigned long
-
getMStiffness
public float getMStiffness()
- Returns:
- WebIDL type: float
-
setMStiffness
public void setMStiffness(float value)
- Parameters:
value- WebIDL type: float
-
-