java.lang.Object
physx.NativeObject
physx.vehicle2.PxVehicleTireStickyParams
-
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 PxVehicleTireStickyParamsarrayGet(long baseAddress, int index) static PxVehicleTireStickyParamscreateAt(long address) static <T> PxVehicleTireStickyParamscreateAt(T allocator, NativeObject.Allocator<T> allocate) voiddestroy()getStickyParams(int index) booleanisValid()voidsetStickyParams(int index, PxVehicleTireAxisStickyParams value) voidtransformAndScale(PxVehicleFrame srcFrame, PxVehicleFrame trgFrame, PxVehicleScale srcScale, PxVehicleScale trgScale) static PxVehicleTireStickyParamswrapPointer(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
-
PxVehicleTireStickyParams
protected PxVehicleTireStickyParams(long address) -
PxVehicleTireStickyParams
public PxVehicleTireStickyParams()
-
-
Method Details
-
wrapPointer
-
arrayGet
-
createAt
- Parameters:
address- Pre-allocated memory, where the object is created.- Returns:
- Stack allocated object of PxVehicleTireStickyParams
-
createAt
public static <T> PxVehicleTireStickyParams createAt(T allocator, NativeObject.Allocator<T> allocate) - 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 PxVehicleTireStickyParams
-
destroy
public void destroy() -
getStickyParams
- Parameters:
index- Array index- Returns:
- WebIDL type:
PxVehicleTireAxisStickyParams[Value]
-
setStickyParams
- Parameters:
index- Array indexvalue- WebIDL type:PxVehicleTireAxisStickyParams[Value]
-
setToDefault
public void setToDefault() -
transformAndScale
public PxVehicleTireStickyParams 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:
PxVehicleTireStickyParams[Value]
-
isValid
public boolean isValid()- Returns:
- WebIDL type: boolean
-