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...
 
BitMask64_t animFlags = 0ull
 
PropAnimMode animMode = {}
 
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 136 of file GfxData.h.

Field Documentation

◆ animFlags

BitMask64_t RoR::PropAnim::animFlags = 0ull

Definition at line 139 of file GfxData.h.

◆ animMode

PropAnimMode RoR::PropAnim::animMode = {}

Definition at line 140 of file GfxData.h.

◆ animOpt3

float RoR::PropAnim::animOpt3 = 0

MULTIPURPOSE.

  • SHIFTER type ShifterPropAnim (1 = shifterman1, 2 = shifterman2, 3 = shifterseq, 4 = shifterlin)
  • 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)

Definition at line 147 of file GfxData.h.

◆ animOpt5

float RoR::PropAnim::animOpt5 = 0

Definition at line 148 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 138 of file GfxData.h.

◆ lower_limit

float RoR::PropAnim::lower_limit = 0

The lower limit for the animation.

Definition at line 149 of file GfxData.h.

◆ shifterSmooth

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

Definition at line 153 of file GfxData.h.

◆ shifterStep

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

Definition at line 154 of file GfxData.h.

◆ shifterTarget

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

Definition at line 155 of file GfxData.h.

◆ upper_limit

float RoR::PropAnim::upper_limit = 0

The upper limit for the animation.

Definition at line 150 of file GfxData.h.


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