public class PxVehicleAntiRollBarData extends NativeObject
NativeObject.Allocator<T>| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF |
static int |
SIZEOF |
address, isExternallyAllocated| Modifier | Constructor and Description |
|---|---|
|
PxVehicleAntiRollBarData() |
protected |
PxVehicleAntiRollBarData(long address) |
| Modifier and Type | Method and Description |
|---|---|
static PxVehicleAntiRollBarData |
createAt(long address) |
static <T> PxVehicleAntiRollBarData |
createAt(T allocator,
NativeObject.Allocator<T> allocate) |
void |
destroy() |
float |
getMStiffness() |
int |
getMWheel0() |
int |
getMWheel1() |
void |
setMStiffness(float value) |
void |
setMWheel0(int value) |
void |
setMWheel1(int value) |
static PxVehicleAntiRollBarData |
wrapPointer(long address) |
checkNotNull, equals, getAddress, hashCodepublic static final int SIZEOF
public static final int ALIGNOF
protected PxVehicleAntiRollBarData(long address)
public PxVehicleAntiRollBarData()
public static PxVehicleAntiRollBarData wrapPointer(long address)
public static PxVehicleAntiRollBarData createAt(long address)
address - Pre-allocated memory, where the object is created.public static <T> PxVehicleAntiRollBarData createAt(T allocator, NativeObject.Allocator<T> allocate)
T - Allocator class, e.g. LWJGL's MemoryStack.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.public void destroy()
public int getMWheel0()
public void setMWheel0(int value)
value - WebIDL type: unsigned longpublic int getMWheel1()
public void setMWheel1(int value)
value - WebIDL type: unsigned longpublic float getMStiffness()
public void setMStiffness(float value)
value - WebIDL type: float