java.lang.Object
physx.NativeObject
physx.vehicle2.PxVehicleTireSlipParams
-
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 PxVehicleTireSlipParamsarrayGet(long baseAddress, int index) static PxVehicleTireSlipParamscreateAt(long address) static <T> PxVehicleTireSlipParamscreateAt(T allocator, NativeObject.Allocator<T> allocate) voiddestroy()floatfloatfloatbooleanisValid()voidsetMinActiveLongSlipDenominator(float value) voidsetMinLatSlipDenominator(float value) voidsetMinPassiveLongSlipDenominator(float value) voidtransformAndScale(PxVehicleFrame srcFrame, PxVehicleFrame trgFrame, PxVehicleScale srcScale, PxVehicleScale trgScale) static PxVehicleTireSlipParamswrapPointer(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
-
PxVehicleTireSlipParams
protected PxVehicleTireSlipParams(long address) -
PxVehicleTireSlipParams
public PxVehicleTireSlipParams()
-
-
Method Details
-
wrapPointer
-
arrayGet
-
createAt
- Parameters:
address- Pre-allocated memory, where the object is created.- Returns:
- Stack allocated object of PxVehicleTireSlipParams
-
createAt
- Type Parameters:
T- Allocator class, e.g. LWJGL's MemoryStack.- Parameters:
allocator- Object to use for allocation, e.g. an instance of LWJGL's MemoryStack.allocate- Method to call on allocator to obtain the target address, e.g. MemoryStack::nmalloc.- Returns:
- Stack allocated object of PxVehicleTireSlipParams
-
destroy
public void destroy() -
getMinLatSlipDenominator
public float getMinLatSlipDenominator()- Returns:
- WebIDL type: float
-
setMinLatSlipDenominator
public void setMinLatSlipDenominator(float value) - Parameters:
value- WebIDL type: float
-
getMinPassiveLongSlipDenominator
public float getMinPassiveLongSlipDenominator()- Returns:
- WebIDL type: float
-
setMinPassiveLongSlipDenominator
public void setMinPassiveLongSlipDenominator(float value) - Parameters:
value- WebIDL type: float
-
getMinActiveLongSlipDenominator
public float getMinActiveLongSlipDenominator()- Returns:
- WebIDL type: float
-
setMinActiveLongSlipDenominator
public void setMinActiveLongSlipDenominator(float value) - Parameters:
value- WebIDL type: float
-
setToDefault
public void setToDefault() -
transformAndScale
public PxVehicleTireSlipParams 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:
PxVehicleTireSlipParams[Value]
-
isValid
public boolean isValid()- Returns:
- WebIDL type: boolean
-