java.lang.Object
physx.NativeObject
physx.vehicle2.PxVehicleDifferentialState
-
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 PxVehicleDifferentialStatearrayGet(long baseAddress, int index) voiddestroy()floatgetAveWheelSpeedContributionAllWheels(int index) intgetConnectedWheels(int index) intThe number of wheels that are connected to the differential.floatgetTorqueRatiosAllWheels(int index) voidsetAveWheelSpeedContributionAllWheels(int index, float value) voidsetConnectedWheels(int index, int value) voidsetNbConnectedWheels(int value) The number of wheels that are connected to the differential.voidvoidsetTorqueRatiosAllWheels(int index, float value) static PxVehicleDifferentialStatewrapPointer(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
-
PxVehicleDifferentialState
protected PxVehicleDifferentialState(long address) -
PxVehicleDifferentialState
public PxVehicleDifferentialState()
-
-
Method Details
-
wrapPointer
-
arrayGet
-
destroy
public void destroy() -
getConnectedWheels
public int getConnectedWheels(int index) - Parameters:
index- Array index- Returns:
- WebIDL type: unsigned long
-
setConnectedWheels
public void setConnectedWheels(int index, int value) - Parameters:
index- Array indexvalue- WebIDL type: unsigned long
-
getNbConnectedWheels
public int getNbConnectedWheels()The number of wheels that are connected to the differential. -
setNbConnectedWheels
public void setNbConnectedWheels(int value) The number of wheels that are connected to the differential. -
getTorqueRatiosAllWheels
public float getTorqueRatiosAllWheels(int index) - Parameters:
index- Array index- Returns:
- WebIDL type: float
-
setTorqueRatiosAllWheels
public void setTorqueRatiosAllWheels(int index, float value) - Parameters:
index- Array indexvalue- WebIDL type: float
-
getAveWheelSpeedContributionAllWheels
public float getAveWheelSpeedContributionAllWheels(int index) - Parameters:
index- Array index- Returns:
- WebIDL type: float
-
setAveWheelSpeedContributionAllWheels
public void setAveWheelSpeedContributionAllWheels(int index, float value) - Parameters:
index- Array indexvalue- WebIDL type: float
-
setToDefault
public void setToDefault()
-