public class PxVehicleDriveDynData extends NativeObject
NativeObject.Allocator<T>address, isExternallyAllocated| Modifier | Constructor and Description |
|---|---|
protected |
PxVehicleDriveDynData() |
protected |
PxVehicleDriveDynData(long address) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
void |
forceGearChange(int targetGear) |
float |
getAnalogInput(int type) |
float |
getAutoBoxSwitchTime() |
int |
getCurrentGear() |
float |
getEngineRotationSpeed() |
int |
getGearChange() |
boolean |
getGearDown() |
float |
getGearSwitchTime() |
boolean |
getGearUp() |
float |
getMAutoBoxSwitchTime() |
float |
getMControlAnalogVals(int index) |
int |
getMCurrentGear() |
float |
getMEnginespeed() |
boolean |
getMGearDownPressed() |
float |
getMGearSwitchTime() |
boolean |
getMGearUpPressed() |
int |
getMTargetGear() |
boolean |
getMUseAutoGears() |
int |
getNbAnalogInput() |
int |
getTargetGear() |
boolean |
getUseAutoGears() |
void |
setAnalogInput(int type,
float analogVal) |
void |
setAutoBoxSwitchTime(float autoBoxSwitchTime) |
void |
setCurrentGear(int currentGear) |
void |
setEngineRotationSpeed(float speed) |
void |
setGearChange(int gearChange) |
void |
setGearDown(boolean digitalVal) |
void |
setGearSwitchTime(float switchTime) |
void |
setGearUp(boolean digitalVal) |
void |
setMAutoBoxSwitchTime(float value) |
void |
setMControlAnalogVals(int index,
float value) |
void |
setMCurrentGear(int value) |
void |
setMEnginespeed(float value) |
void |
setMGearDownPressed(boolean value) |
void |
setMGearSwitchTime(float value) |
void |
setMGearUpPressed(boolean value) |
void |
setMTargetGear(int value) |
void |
setMUseAutoGears(boolean value) |
void |
setTargetGear(int targetGear) |
void |
setToRestState() |
void |
setUseAutoGears(boolean useAutoGears) |
void |
startGearChange(int targetGear) |
void |
toggleAutoGears() |
static PxVehicleDriveDynData |
wrapPointer(long address) |
checkNotNull, equals, getAddress, hashCodeprotected PxVehicleDriveDynData()
protected PxVehicleDriveDynData(long address)
public static PxVehicleDriveDynData wrapPointer(long address)
public void destroy()
public float getMControlAnalogVals(int index)
index - Array indexpublic void setMControlAnalogVals(int index,
float value)
index - Array indexvalue - WebIDL type: floatpublic boolean getMUseAutoGears()
public void setMUseAutoGears(boolean value)
value - WebIDL type: booleanpublic boolean getMGearUpPressed()
public void setMGearUpPressed(boolean value)
value - WebIDL type: booleanpublic boolean getMGearDownPressed()
public void setMGearDownPressed(boolean value)
value - WebIDL type: booleanpublic int getMCurrentGear()
public void setMCurrentGear(int value)
value - WebIDL type: unsigned longpublic int getMTargetGear()
public void setMTargetGear(int value)
value - WebIDL type: unsigned longpublic float getMEnginespeed()
public void setMEnginespeed(float value)
value - WebIDL type: floatpublic float getMGearSwitchTime()
public void setMGearSwitchTime(float value)
value - WebIDL type: floatpublic float getMAutoBoxSwitchTime()
public void setMAutoBoxSwitchTime(float value)
value - WebIDL type: floatpublic void setToRestState()
public void setAnalogInput(int type,
float analogVal)
type - WebIDL type: unsigned longanalogVal - WebIDL type: floatpublic float getAnalogInput(int type)
type - WebIDL type: unsigned longpublic void setGearUp(boolean digitalVal)
digitalVal - WebIDL type: booleanpublic void setGearDown(boolean digitalVal)
digitalVal - WebIDL type: booleanpublic boolean getGearUp()
public boolean getGearDown()
public void setUseAutoGears(boolean useAutoGears)
useAutoGears - WebIDL type: booleanpublic boolean getUseAutoGears()
public void toggleAutoGears()
public void setCurrentGear(int currentGear)
currentGear - WebIDL type: unsigned longpublic int getCurrentGear()
public void setTargetGear(int targetGear)
targetGear - WebIDL type: unsigned longpublic int getTargetGear()
public void startGearChange(int targetGear)
targetGear - WebIDL type: unsigned longpublic void forceGearChange(int targetGear)
targetGear - WebIDL type: unsigned longpublic void setEngineRotationSpeed(float speed)
speed - WebIDL type: floatpublic float getEngineRotationSpeed()
public float getGearSwitchTime()
public float getAutoBoxSwitchTime()
public int getNbAnalogInput()
public void setGearChange(int gearChange)
gearChange - WebIDL type: unsigned longpublic int getGearChange()
public void setGearSwitchTime(float switchTime)
switchTime - WebIDL type: floatpublic void setAutoBoxSwitchTime(float autoBoxSwitchTime)
autoBoxSwitchTime - WebIDL type: float