java.lang.Object
physx.NativeObject
physx.vehicle2.PxVehicleAxleDescription
-
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 PxVehicleAxleDescriptionarrayGet(long baseAddress, int index) voiddestroy()intgetAxle(int wheelId) intgetAxleToWheelIds(int index) intintintgetNbWheelsOnAxle(int i) intgetNbWheelsPerAxle(int index) intgetWheelIdsInAxleOrder(int index) intgetWheelOnAxle(int j, int i) booleanisValid()voidsetAxleToWheelIds(int index, int value) voidsetNbAxles(int value) voidsetNbWheels(int value) voidsetNbWheelsPerAxle(int index, int value) voidvoidsetWheelIdsInAxleOrder(int index, int value) static PxVehicleAxleDescriptionwrapPointer(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
-
PxVehicleAxleDescription
protected PxVehicleAxleDescription(long address) -
PxVehicleAxleDescription
public PxVehicleAxleDescription()
-
-
Method Details
-
wrapPointer
-
arrayGet
-
destroy
public void destroy() -
getNbAxles
public int getNbAxles()- Returns:
- WebIDL type: unsigned long
-
setNbAxles
public void setNbAxles(int value) - Parameters:
value- WebIDL type: unsigned long
-
getNbWheelsPerAxle
public int getNbWheelsPerAxle(int index) - Parameters:
index- Array index- Returns:
- WebIDL type: unsigned long
-
setNbWheelsPerAxle
public void setNbWheelsPerAxle(int index, int value) - Parameters:
index- Array indexvalue- WebIDL type: unsigned long
-
getAxleToWheelIds
public int getAxleToWheelIds(int index) - Parameters:
index- Array index- Returns:
- WebIDL type: unsigned long
-
setAxleToWheelIds
public void setAxleToWheelIds(int index, int value) - Parameters:
index- Array indexvalue- WebIDL type: unsigned long
-
getWheelIdsInAxleOrder
public int getWheelIdsInAxleOrder(int index) - Parameters:
index- Array index- Returns:
- WebIDL type: unsigned long
-
setWheelIdsInAxleOrder
public void setWheelIdsInAxleOrder(int index, int value) - Parameters:
index- Array indexvalue- WebIDL type: unsigned long
-
getNbWheels
public int getNbWheels()- Returns:
- WebIDL type: unsigned long
-
setNbWheels
public void setNbWheels(int value) - Parameters:
value- WebIDL type: unsigned long
-
setToDefault
public void setToDefault() -
getNbWheelsOnAxle
public int getNbWheelsOnAxle(int i) - Parameters:
i- WebIDL type: unsigned long- Returns:
- WebIDL type: unsigned long
-
getWheelOnAxle
public int getWheelOnAxle(int j, int i) - Parameters:
j- WebIDL type: unsigned longi- WebIDL type: unsigned long- Returns:
- WebIDL type: unsigned long
-
getAxle
public int getAxle(int wheelId) - Parameters:
wheelId- WebIDL type: unsigned long- Returns:
- WebIDL type: unsigned long
-
isValid
public boolean isValid()- Returns:
- WebIDL type: boolean
-