java.lang.Object
physx.NativeObject
physx.vehicle2.PxVehicleSuspensionParams
-
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 PxVehicleSuspensionParamsarrayGet(long baseAddress, int index) voiddestroy()floatbooleanisValid()voidvoidsetSuspensionTravelDir(PxVec3 value) voidsetSuspensionTravelDist(float value) voidsetWheelAttachment(PxTransform value) transformAndScale(PxVehicleFrame srcFrame, PxVehicleFrame trgFrame, PxVehicleScale srcScale, PxVehicleScale trgScale) static PxVehicleSuspensionParamswrapPointer(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
-
PxVehicleSuspensionParams
protected PxVehicleSuspensionParams(long address) -
PxVehicleSuspensionParams
public PxVehicleSuspensionParams()
-
-
Method Details
-
wrapPointer
-
arrayGet
-
destroy
public void destroy() -
getSuspensionAttachment
- Returns:
- WebIDL type:
PxTransform[Value]
-
setSuspensionAttachment
- Parameters:
value- WebIDL type:PxTransform[Value]
-
getSuspensionTravelDir
- Returns:
- WebIDL type:
PxVec3[Value]
-
setSuspensionTravelDir
- Parameters:
value- WebIDL type:PxVec3[Value]
-
getSuspensionTravelDist
public float getSuspensionTravelDist()- Returns:
- WebIDL type: float
-
setSuspensionTravelDist
public void setSuspensionTravelDist(float value) - Parameters:
value- WebIDL type: float
-
getWheelAttachment
- Returns:
- WebIDL type:
PxTransform[Value]
-
setWheelAttachment
- Parameters:
value- WebIDL type:PxTransform[Value]
-
transformAndScale
public PxVehicleSuspensionParams 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:
PxVehicleSuspensionParams[Value]
-
isValid
public boolean isValid()- Returns:
- WebIDL type: boolean
-