RigsofRods
Soft-body Physics Simulation
Public Member Functions | Data Fields
RoR::BeamGfx Struct Reference

Visuals of softbody beam (beam_t struct); Partially updated along with SimBuffer. More...

#include <GfxData.h>

+ Collaboration diagram for RoR::BeamGfx:

Public Member Functions

 BeamGfx ()
 
 ~BeamGfx ()
 

Data Fields

Ogre::SceneNode * rod_scenenode = nullptr
 
uint16_t rod_beam_index = 0
 
uint16_t rod_diameter_mm = 0
 Diameter in millimeters. More...
 
NodeNum_t rod_node1 = NODENUM_INVALID
 Node index - may change during simulation! More...
 
NodeNum_t rod_node2 = NODENUM_INVALID
 Node index - may change during simulation! More...
 
ActorPtr rod_target_actor
 
bool rod_is_visible = false
 

Detailed Description

Visuals of softbody beam (beam_t struct); Partially updated along with SimBuffer.

Definition at line 276 of file GfxData.h.

Constructor & Destructor Documentation

◆ BeamGfx()

BeamGfx::BeamGfx ( )

Definition at line 28 of file GfxData.cpp.

◆ ~BeamGfx()

BeamGfx::~BeamGfx ( )

Definition at line 33 of file GfxData.cpp.

Field Documentation

◆ rod_beam_index

uint16_t RoR::BeamGfx::rod_beam_index = 0

Definition at line 283 of file GfxData.h.

◆ rod_diameter_mm

uint16_t RoR::BeamGfx::rod_diameter_mm = 0

Diameter in millimeters.

Definition at line 284 of file GfxData.h.

◆ rod_is_visible

bool RoR::BeamGfx::rod_is_visible = false

Definition at line 289 of file GfxData.h.

◆ rod_node1

NodeNum_t RoR::BeamGfx::rod_node1 = NODENUM_INVALID

Node index - may change during simulation!

Definition at line 286 of file GfxData.h.

◆ rod_node2

NodeNum_t RoR::BeamGfx::rod_node2 = NODENUM_INVALID

Node index - may change during simulation!

Definition at line 287 of file GfxData.h.

◆ rod_scenenode

Ogre::SceneNode* RoR::BeamGfx::rod_scenenode = nullptr

Definition at line 282 of file GfxData.h.

◆ rod_target_actor

ActorPtr RoR::BeamGfx::rod_target_actor

Definition at line 288 of file GfxData.h.


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