public class PxVehicleSuspensionData extends NativeObject
NativeObject.Allocator<T>| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF |
static int |
SIZEOF |
address, isExternallyAllocated| Modifier | Constructor and Description |
|---|---|
|
PxVehicleSuspensionData() |
protected |
PxVehicleSuspensionData(long address) |
| Modifier and Type | Method and Description |
|---|---|
static PxVehicleSuspensionData |
createAt(long address) |
static <T> PxVehicleSuspensionData |
createAt(T allocator,
NativeObject.Allocator<T> allocate) |
void |
destroy() |
float |
getMCamberAtMaxCompression() |
float |
getMCamberAtMaxDroop() |
float |
getMCamberAtRest() |
float |
getMMaxCompression() |
float |
getMMaxDroop() |
float |
getMSpringDamperRate() |
float |
getMSpringStrength() |
float |
getMSprungMass() |
void |
setMassAndPreserveNaturalFrequency(float newSprungMass) |
void |
setMCamberAtMaxCompression(float value) |
void |
setMCamberAtMaxDroop(float value) |
void |
setMCamberAtRest(float value) |
void |
setMMaxCompression(float value) |
void |
setMMaxDroop(float value) |
void |
setMSpringDamperRate(float value) |
void |
setMSpringStrength(float value) |
void |
setMSprungMass(float value) |
static PxVehicleSuspensionData |
wrapPointer(long address) |
checkNotNull, equals, getAddress, hashCodepublic static final int SIZEOF
public static final int ALIGNOF
protected PxVehicleSuspensionData(long address)
public PxVehicleSuspensionData()
public static PxVehicleSuspensionData wrapPointer(long address)
public static PxVehicleSuspensionData createAt(long address)
address - Pre-allocated memory, where the object is created.public static <T> PxVehicleSuspensionData 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 float getMSpringStrength()
public void setMSpringStrength(float value)
value - WebIDL type: floatpublic float getMSpringDamperRate()
public void setMSpringDamperRate(float value)
value - WebIDL type: floatpublic float getMMaxCompression()
public void setMMaxCompression(float value)
value - WebIDL type: floatpublic float getMMaxDroop()
public void setMMaxDroop(float value)
value - WebIDL type: floatpublic float getMSprungMass()
public void setMSprungMass(float value)
value - WebIDL type: floatpublic float getMCamberAtRest()
public void setMCamberAtRest(float value)
value - WebIDL type: floatpublic float getMCamberAtMaxCompression()
public void setMCamberAtMaxCompression(float value)
value - WebIDL type: floatpublic float getMCamberAtMaxDroop()
public void setMCamberAtMaxDroop(float value)
value - WebIDL type: floatpublic void setMassAndPreserveNaturalFrequency(float newSprungMass)
newSprungMass - WebIDL type: float