java.lang.Object
physx.NativeObject
physx.vehicle2.PxVehicleSuspensionForceParams
-
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 TypeMethodDescriptionarrayGet(long baseAddress, int index) voiddestroy()floatfloatfloatbooleanisValid()voidsetDamping(float value) voidsetSprungMass(float value) voidsetStiffness(float value) transformAndScale(PxVehicleFrame srcFrame, PxVehicleFrame trgFrame, PxVehicleScale srcScale, PxVehicleScale trgScale) wrapPointer(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
-
PxVehicleSuspensionForceParams
protected PxVehicleSuspensionForceParams(long address) -
PxVehicleSuspensionForceParams
public PxVehicleSuspensionForceParams()
-
-
Method Details
-
wrapPointer
-
arrayGet
-
destroy
public void destroy() -
getStiffness
public float getStiffness()- Returns:
- WebIDL type: float
-
setStiffness
public void setStiffness(float value) - Parameters:
value- WebIDL type: float
-
getDamping
public float getDamping()- Returns:
- WebIDL type: float
-
setDamping
public void setDamping(float value) - Parameters:
value- WebIDL type: float
-
getSprungMass
public float getSprungMass()- Returns:
- WebIDL type: float
-
setSprungMass
public void setSprungMass(float value) - Parameters:
value- WebIDL type: float
-
transformAndScale
public PxVehicleSuspensionForceParams transformAndScale(PxVehicleFrame srcFrame, PxVehicleFrame trgFrame, PxVehicleScale srcScale, PxVehicleScale trgScale) - Parameters:
srcFrame- WebIDL type:PxVehicleFrame[Const, Ref]trgFrame- WebIDL type:PxVehicleFrame[Const, Ref]srcScale- WebIDL type:PxVehicleScale[Const, Ref]trgScale- WebIDL type:PxVehicleScale[Const, Ref]- Returns:
- WebIDL type:
PxVehicleSuspensionForceParams[Value]
-
isValid
public boolean isValid()- Returns:
- WebIDL type: boolean
-