Package physx.vehicle
Class PxVehicleSuspensionData
- java.lang.Object
-
- physx.NativeObject
-
- physx.vehicle.PxVehicleSuspensionData
-
public class PxVehicleSuspensionData extends NativeObject
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class physx.NativeObject
NativeObject.Allocator<T>
-
-
Field Summary
-
Fields inherited from class physx.NativeObject
address, isStackAllocated
-
-
Constructor Summary
Constructors Modifier Constructor Description PxVehicleSuspensionData()protectedPxVehicleSuspensionData(long address)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddestroy()floatgetMCamberAtMaxCompression()floatgetMCamberAtMaxDroop()floatgetMCamberAtRest()floatgetMMaxCompression()floatgetMMaxDroop()floatgetMSpringDamperRate()floatgetMSpringStrength()floatgetMSprungMass()voidsetMassAndPreserveNaturalFrequency(float newSprungMass)voidsetMCamberAtMaxCompression(float value)voidsetMCamberAtMaxDroop(float value)voidsetMCamberAtRest(float value)voidsetMMaxCompression(float value)voidsetMMaxDroop(float value)voidsetMSpringDamperRate(float value)voidsetMSpringStrength(float value)voidsetMSprungMass(float value)static PxVehicleSuspensionDatawrapPointer(long address)-
Methods inherited from class physx.NativeObject
getAddress
-
-
-
-
Method Detail
-
wrapPointer
public static PxVehicleSuspensionData wrapPointer(long address)
-
destroy
public void destroy()
-
getMSpringStrength
public float getMSpringStrength()
- Returns:
- float
-
setMSpringStrength
public void setMSpringStrength(float value)
- Parameters:
value- float
-
getMSpringDamperRate
public float getMSpringDamperRate()
- Returns:
- float
-
setMSpringDamperRate
public void setMSpringDamperRate(float value)
- Parameters:
value- float
-
getMMaxCompression
public float getMMaxCompression()
- Returns:
- float
-
setMMaxCompression
public void setMMaxCompression(float value)
- Parameters:
value- float
-
getMMaxDroop
public float getMMaxDroop()
- Returns:
- float
-
setMMaxDroop
public void setMMaxDroop(float value)
- Parameters:
value- float
-
getMSprungMass
public float getMSprungMass()
- Returns:
- float
-
setMSprungMass
public void setMSprungMass(float value)
- Parameters:
value- float
-
getMCamberAtRest
public float getMCamberAtRest()
- Returns:
- float
-
setMCamberAtRest
public void setMCamberAtRest(float value)
- Parameters:
value- float
-
getMCamberAtMaxCompression
public float getMCamberAtMaxCompression()
- Returns:
- float
-
setMCamberAtMaxCompression
public void setMCamberAtMaxCompression(float value)
- Parameters:
value- float
-
getMCamberAtMaxDroop
public float getMCamberAtMaxDroop()
- Returns:
- float
-
setMCamberAtMaxDroop
public void setMCamberAtMaxDroop(float value)
- Parameters:
value- float
-
setMassAndPreserveNaturalFrequency
public void setMassAndPreserveNaturalFrequency(float newSprungMass)
- Parameters:
newSprungMass- float
-
-