Rigs of Rods 2023.09
Soft-body Physics Simulation
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Loading...
Searching...
No Matches
Public Member Functions
Script2Game::TurbopropClass Class Reference

Binding of RoR::Turboprop. More...

#include <TurbopropClass.h>

Public Member Functions

float getPropellerPitch ()
 
float getPropellerIndicatedTorque ()
 
float getPropellerMaxTorque ()
 
float getPropellerMaxPower ()
 
bool isPistonProp ()
 

Detailed Description

Binding of RoR::Turboprop.

Contains information specific to propeller engines.

Note
Obtain the object using BeamClass.getTurboprop(int index).

Definition at line 15 of file TurbopropClass.h.

Member Function Documentation

◆ getPropellerIndicatedTorque()

float Script2Game::TurbopropClass::getPropellerIndicatedTorque ( )
Returns
The current torque applied to the propeller, in newton-metres.

◆ getPropellerMaxPower()

float Script2Game::TurbopropClass::getPropellerMaxPower ( )
Returns
The maximum power of the engine, in kilowatts.

◆ getPropellerMaxTorque()

float Script2Game::TurbopropClass::getPropellerMaxTorque ( )
Returns
The current torque that can be applied to the propeller, in newton-metres.

◆ getPropellerPitch()

float Script2Game::TurbopropClass::getPropellerPitch ( )
Returns
The propeller pitch, in degrees.

◆ isPistonProp()

bool Script2Game::TurbopropClass::isPistonProp ( )
Returns
Whether the engine is a piston propeller.

The documentation for this class was generated from the following file: