java.lang.Object
physx.NativeObject
physx.vehicle2.PxVehicleTireStickyState
Prolonged low speeds in the lateral and longitudinal directions may be handled with "sticky" velocity constraints that activate after
a speed below a threshold has been recorded for a threshold time.
-
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 PxVehicleTireStickyStatearrayGet(long baseAddress, int index) voiddestroy()booleangetActiveStatus(int index) floatgetLowSpeedTime(int index) voidsetActiveStatus(int index, boolean value) voidsetLowSpeedTime(int index, float value) voidstatic PxVehicleTireStickyStatewrapPointer(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
-
PxVehicleTireStickyState
protected PxVehicleTireStickyState(long address) -
PxVehicleTireStickyState
public PxVehicleTireStickyState()
-
-
Method Details
-
wrapPointer
-
arrayGet
-
destroy
public void destroy() -
getLowSpeedTime
public float getLowSpeedTime(int index) - Parameters:
index- Array index- Returns:
- WebIDL type: float
-
setLowSpeedTime
public void setLowSpeedTime(int index, float value) - Parameters:
index- Array indexvalue- WebIDL type: float
-
getActiveStatus
public boolean getActiveStatus(int index) - Parameters:
index- Array index- Returns:
- WebIDL type: boolean
-
setActiveStatus
public void setActiveStatus(int index, boolean value) - Parameters:
index- Array indexvalue- WebIDL type: boolean
-
setToDefault
public void setToDefault()
-