java.lang.Object
physx.NativeObject
physx.vehicle2.PxVehicleSimulationContext
- Direct Known Subclasses:
PxVehiclePhysXSimulationContext
-
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 PxVehicleSimulationContextarrayGet(long baseAddress, int index) voiddestroy()getFrame()getScale()floatgetType()voidsetFrame(PxVehicleFrame value) voidsetGravity(PxVec3 value) voidsetPvdContext(PxVehiclePvdContext value) voidsetScale(PxVehicleScale value) voidsetThresholdForwardSpeedForWheelAngleIntegration(float value) voidvoidvoidtransformAndScale(PxVehicleFrame srcFrame, PxVehicleFrame trgFrame, PxVehicleScale srcScale, PxVehicleScale trgScale) static PxVehicleSimulationContextwrapPointer(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
-
PxVehicleSimulationContext
protected PxVehicleSimulationContext(long address) -
PxVehicleSimulationContext
public PxVehicleSimulationContext()
-
-
Method Details
-
wrapPointer
-
arrayGet
-
destroy
public void destroy() -
getGravity
- Returns:
- WebIDL type:
PxVec3[Value]
-
setGravity
- Parameters:
value- WebIDL type:PxVec3[Value]
-
getFrame
- Returns:
- WebIDL type:
PxVehicleFrame[Value]
-
setFrame
- Parameters:
value- WebIDL type:PxVehicleFrame[Value]
-
getScale
- Returns:
- WebIDL type:
PxVehicleScale[Value]
-
setScale
- Parameters:
value- WebIDL type:PxVehicleScale[Value]
-
getTireSlipParams
- Returns:
- WebIDL type:
PxVehicleTireSlipParams[Value]
-
setTireSlipParams
- Parameters:
value- WebIDL type:PxVehicleTireSlipParams[Value]
-
getTireStickyParams
- Returns:
- WebIDL type:
PxVehicleTireStickyParams[Value]
-
setTireStickyParams
- Parameters:
value- WebIDL type:PxVehicleTireStickyParams[Value]
-
getThresholdForwardSpeedForWheelAngleIntegration
public float getThresholdForwardSpeedForWheelAngleIntegration()- Returns:
- WebIDL type: float
-
setThresholdForwardSpeedForWheelAngleIntegration
public void setThresholdForwardSpeedForWheelAngleIntegration(float value) - Parameters:
value- WebIDL type: float
-
getPvdContext
- Returns:
- WebIDL type:
PxVehiclePvdContext[Value]
-
setPvdContext
- Parameters:
value- WebIDL type:PxVehiclePvdContext[Value]
-
getType
- Returns:
- WebIDL type:
PxVehicleSimulationContextTypeEnum[enum]
-
setToDefault
public void setToDefault() -
transformAndScale
public PxVehicleSimulationContext 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:
PxVehicleSimulationContext[Value]
-