java.lang.Object
physx.NativeObject
physx.vehicle2.PxVehicleAutoboxParams
-
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 PxVehicleAutoboxParamsarrayGet(long baseAddress, int index) static PxVehicleAutoboxParamscreateAt(long address) static <T> PxVehicleAutoboxParamscreateAt(T allocator, NativeObject.Allocator<T> allocate) voiddestroy()floatgetDownRatios(int index) floatfloatgetUpRatios(int index) booleanisValid(PxVehicleGearboxParams gearboxParams) voidsetDownRatios(int index, float value) voidsetLatency(float value) voidsetUpRatios(int index, float value) transformAndScale(PxVehicleFrame srcFrame, PxVehicleFrame trgFrame, PxVehicleScale srcScale, PxVehicleScale trgScale) static PxVehicleAutoboxParamswrapPointer(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
-
PxVehicleAutoboxParams
protected PxVehicleAutoboxParams(long address) -
PxVehicleAutoboxParams
public PxVehicleAutoboxParams()
-
-
Method Details
-
wrapPointer
-
arrayGet
-
createAt
- Parameters:
address- Pre-allocated memory, where the object is created.- Returns:
- Stack allocated object of PxVehicleAutoboxParams
-
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 PxVehicleAutoboxParams
-
destroy
public void destroy() -
getUpRatios
public float getUpRatios(int index) - Parameters:
index- Array index- Returns:
- WebIDL type: float
-
setUpRatios
public void setUpRatios(int index, float value) - Parameters:
index- Array indexvalue- WebIDL type: float
-
getDownRatios
public float getDownRatios(int index) - Parameters:
index- Array index- Returns:
- WebIDL type: float
-
setDownRatios
public void setDownRatios(int index, float value) - Parameters:
index- Array indexvalue- WebIDL type: float
-
getLatency
public float getLatency()- Returns:
- WebIDL type: float
-
setLatency
public void setLatency(float value) - Parameters:
value- WebIDL type: float
-
transformAndScale
public PxVehicleAutoboxParams 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:
PxVehicleAutoboxParams[Value]
-
isValid
- Parameters:
gearboxParams- WebIDL type:PxVehicleGearboxParams[Const, Ref]- Returns:
- WebIDL type: boolean
-