java.lang.Object
physx.NativeObject
physx.vehicle2.PxVehicleSuspensionState
-
Nested Class Summary
Nested classes/interfaces inherited from class physx.NativeObject
NativeObject.Allocator<T> -
Field Summary
FieldsFields inherited from class physx.NativeObject
address, isExternallyAllocated, SIZEOF_BYTE, SIZEOF_DOUBLE, SIZEOF_FLOAT, SIZEOF_INT, SIZEOF_LONG, SIZEOF_POINTER, SIZEOF_SHORT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PxVehicleSuspensionStatearrayGet(long baseAddress, int index) voiddestroy()floatfloatfloatvoidsetJounce(float value) voidsetJounceSpeed(float value) voidsetSeparation(float value) voidsetToDefault(float _jounce, float _separation) static PxVehicleSuspensionStatewrapPointer(long address) Methods inherited from class physx.NativeObject
checkNotNull, equals, getAddress, hashCode
-
Field Details
-
SIZEOF
public static final int SIZEOF -
ALIGNOF
public static final int ALIGNOF- See Also:
-
-
Constructor Details
-
PxVehicleSuspensionState
protected PxVehicleSuspensionState(long address) -
PxVehicleSuspensionState
public PxVehicleSuspensionState()
-
-
Method Details
-
wrapPointer
-
arrayGet
-
destroy
public void destroy() -
getJounce
public float getJounce()- Returns:
- WebIDL type: float
-
setJounce
public void setJounce(float value) - Parameters:
value- WebIDL type: float
-
getJounceSpeed
public float getJounceSpeed()- Returns:
- WebIDL type: float
-
setJounceSpeed
public void setJounceSpeed(float value) - Parameters:
value- WebIDL type: float
-
getSeparation
public float getSeparation()- Returns:
- WebIDL type: float
-
setSeparation
public void setSeparation(float value) - Parameters:
value- WebIDL type: float
-
setToDefault
public void setToDefault(float _jounce, float _separation) - Parameters:
_jounce- WebIDL type: float_separation- WebIDL type: float
-