java.lang.Object
physx.NativeObject
physx.vehicle2.PxVehicleSimulationContext
physx.vehicle2.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 TypeMethodDescriptionarrayGet(long baseAddress, int index) floatWake counter value to set on the physx actor if a reset is required.floatThreshold below which to check whether the physx actor wake counter should get reset.voidvoidsetPhysxActorWakeCounterResetValue(float value) Wake counter value to set on the physx actor if a reset is required.voidsetPhysxActorWakeCounterThreshold(float value) Threshold below which to check whether the physx actor wake counter should get reset.voidsetPhysxScene(PxScene value) voidtransformAndScale(PxVehicleFrame srcFrame, PxVehicleFrame trgFrame, PxVehicleScale srcScale, PxVehicleScale trgScale) wrapPointer(long address) Methods inherited from class physx.vehicle2.PxVehicleSimulationContext
destroy, getFrame, getGravity, getPvdContext, getScale, getThresholdForwardSpeedForWheelAngleIntegration, getTireSlipParams, getTireStickyParams, getType, setFrame, setGravity, setPvdContext, setScale, setThresholdForwardSpeedForWheelAngleIntegration, setTireSlipParams, setTireStickyParams, setToDefaultMethods 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
-
PxVehiclePhysXSimulationContext
protected PxVehiclePhysXSimulationContext(long address) -
PxVehiclePhysXSimulationContext
public PxVehiclePhysXSimulationContext()
-
-
Method Details
-
wrapPointer
-
arrayGet
-
getPhysxUnitCylinderSweepMesh
-
setPhysxUnitCylinderSweepMesh
-
getPhysxScene
-
setPhysxScene
-
getPhysxActorUpdateMode
-
setPhysxActorUpdateMode
-
getPhysxActorWakeCounterResetValue
public float getPhysxActorWakeCounterResetValue()Wake counter value to set on the physx actor if a reset is required.Certain vehicle states should keep a physx actor of a vehicle awake. This will be achieved by resetting the wake counter value if needed. The wake counter value is the minimum simulation time that a physx actor will stay awake.
Unit: time
-
setPhysxActorWakeCounterResetValue
public void setPhysxActorWakeCounterResetValue(float value) Wake counter value to set on the physx actor if a reset is required.Certain vehicle states should keep a physx actor of a vehicle awake. This will be achieved by resetting the wake counter value if needed. The wake counter value is the minimum simulation time that a physx actor will stay awake.
Unit: time
-
getPhysxActorWakeCounterThreshold
public float getPhysxActorWakeCounterThreshold()Threshold below which to check whether the physx actor wake counter should get reset.Unit: time
-
setPhysxActorWakeCounterThreshold
public void setPhysxActorWakeCounterThreshold(float value) Threshold below which to check whether the physx actor wake counter should get reset.Unit: time
-
transformAndScale
public PxVehiclePhysXSimulationContext transformAndScale(PxVehicleFrame srcFrame, PxVehicleFrame trgFrame, PxVehicleScale srcScale, PxVehicleScale trgScale) - Overrides:
transformAndScalein classPxVehicleSimulationContext- 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:
PxVehiclePhysXSimulationContext[Value]
-