java.lang.Object
physx.NativeObject
physx.vehicle2.PxVehicleClutchParams
-
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 PxVehicleClutchParamsarrayGet(long baseAddress, int index) static PxVehicleClutchParamscreateAt(long address) static <T> PxVehicleClutchParamscreateAt(T allocator, NativeObject.Allocator<T> allocate) voiddestroy()intbooleanisValid()voidvoidsetEstimateIterations(int value) transformAndScale(PxVehicleFrame srcFrame, PxVehicleFrame trgFrame, PxVehicleScale srcScale, PxVehicleScale trgScale) static PxVehicleClutchParamswrapPointer(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
-
PxVehicleClutchParams
protected PxVehicleClutchParams(long address) -
PxVehicleClutchParams
public PxVehicleClutchParams()
-
-
Method Details
-
wrapPointer
-
arrayGet
-
createAt
- Parameters:
address- Pre-allocated memory, where the object is created.- Returns:
- Stack allocated object of PxVehicleClutchParams
-
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 PxVehicleClutchParams
-
destroy
public void destroy() -
getAccuracyMode
- Returns:
- WebIDL type:
PxVehicleClutchAccuracyModeEnum[enum]
-
setAccuracyMode
- Parameters:
value- WebIDL type:PxVehicleClutchAccuracyModeEnum[enum]
-
getEstimateIterations
public int getEstimateIterations()- Returns:
- WebIDL type: unsigned long
-
setEstimateIterations
public void setEstimateIterations(int value) - Parameters:
value- WebIDL type: unsigned long
-
transformAndScale
public PxVehicleClutchParams 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:
PxVehicleClutchParams[Value]
-
isValid
public boolean isValid()- Returns:
- WebIDL type: boolean
-