RigsofRods
Soft-body Physics Simulation
Data Fields
RoR::PropAnim Struct Reference

#include <GfxData.h>

Data Fields

float animratio = 0
 A coefficient for the animation, prop degree if used with mode: rotation and propoffset if used with mode: offset. More...
 
PropAnimFlag_t animFlags = 0
 
PropAnimMode_t animMode = 0
 
float animOpt3 = 0
 MULTIPURPOSE. More...
 
float animOpt5 = 0
 
float lower_limit = 0
 The lower limit for the animation. More...
 
float upper_limit = 0
 The upper limit for the animation. More...
 
float shifterSmooth = 0.f
 
float shifterStep = 0.f
 
float shifterTarget = 0.f
 

Detailed Description

Definition at line 138 of file GfxData.h.

Field Documentation

◆ animFlags

PropAnimFlag_t RoR::PropAnim::animFlags = 0

Definition at line 141 of file GfxData.h.

◆ animMode

PropAnimMode_t RoR::PropAnim::animMode = 0

Definition at line 142 of file GfxData.h.

◆ animOpt3

float RoR::PropAnim::animOpt3 = 0

MULTIPURPOSE.

  • SHIFTER type ShifterPropAnim (1 = shifterman1, 2 = shifterman2, 3 = shifterseq, 4 = shifterlin, 5 = autoshifterlin)
  • AEROENGINE number (starting from 1), applies to: rpm + throttle + torque ( turboprop ) + pitch ( turboprop ) + status + fire
  • ALTIMETER type (1 = 100k limited, 2 = 10k oscillating, 3 = 1k oscillating)
  • DASHBOARD input (see enum DashData in file DashBoardManager.h)
  • GEAR number (-1 = reverse, 0 = neutral, 1+ = forward)

Definition at line 150 of file GfxData.h.

◆ animOpt5

float RoR::PropAnim::animOpt5 = 0

Definition at line 151 of file GfxData.h.

◆ animratio

float RoR::PropAnim::animratio = 0

A coefficient for the animation, prop degree if used with mode: rotation and propoffset if used with mode: offset.

Definition at line 140 of file GfxData.h.

◆ lower_limit

float RoR::PropAnim::lower_limit = 0

The lower limit for the animation.

Definition at line 152 of file GfxData.h.

◆ shifterSmooth

float RoR::PropAnim::shifterSmooth = 0.f

Definition at line 156 of file GfxData.h.

◆ shifterStep

float RoR::PropAnim::shifterStep = 0.f

Definition at line 157 of file GfxData.h.

◆ shifterTarget

float RoR::PropAnim::shifterTarget = 0.f

Definition at line 158 of file GfxData.h.

◆ upper_limit

float RoR::PropAnim::upper_limit = 0

The upper limit for the animation.

Definition at line 153 of file GfxData.h.


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