Package physx.vehicle
Class PxVehicleGearsData
- java.lang.Object
-
- physx.NativeObject
-
- physx.vehicle.PxVehicleGearsData
-
public class PxVehicleGearsData extends NativeObject
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class physx.NativeObject
NativeObject.Allocator<T>
-
-
Field Summary
-
Fields inherited from class physx.NativeObject
address, isExternallyAllocated
-
-
Constructor Summary
Constructors Modifier Constructor Description PxVehicleGearsData()protectedPxVehicleGearsData(long address)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddestroy()floatgetGearRatio(int a)floatgetMFinalRatio()intgetMNbRatios()floatgetMRatios(int index)floatgetMSwitchTime()voidsetGearRatio(int a, float ratio)voidsetMFinalRatio(float value)voidsetMNbRatios(int value)voidsetMRatios(int index, float value)voidsetMSwitchTime(float value)static PxVehicleGearsDatawrapPointer(long address)-
Methods inherited from class physx.NativeObject
checkNotNull, equals, getAddress, hashCode
-
-
-
-
Method Detail
-
wrapPointer
public static PxVehicleGearsData wrapPointer(long address)
-
destroy
public void destroy()
-
getMRatios
public float getMRatios(int index)
- Parameters:
index- Array index- Returns:
- WebIDL type: float
-
setMRatios
public void setMRatios(int index, float value)- Parameters:
index- Array indexvalue- WebIDL type: float
-
getMFinalRatio
public float getMFinalRatio()
- Returns:
- WebIDL type: float
-
setMFinalRatio
public void setMFinalRatio(float value)
- Parameters:
value- WebIDL type: float
-
getMNbRatios
public int getMNbRatios()
- Returns:
- WebIDL type: unsigned long
-
setMNbRatios
public void setMNbRatios(int value)
- Parameters:
value- WebIDL type: unsigned long
-
getMSwitchTime
public float getMSwitchTime()
- Returns:
- WebIDL type: float
-
setMSwitchTime
public void setMSwitchTime(float value)
- Parameters:
value- WebIDL type: float
-
getGearRatio
public float getGearRatio(int a)
- Parameters:
a- WebIDL type:PxVehicleGearEnum[enum]- Returns:
- WebIDL type: float
-
setGearRatio
public void setGearRatio(int a, float ratio)- Parameters:
a- WebIDL type:PxVehicleGearEnum[enum]ratio- WebIDL type: float
-
-