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

Gfx attributes/state of a softbody node. More...

#include <GfxData.h>

Public Member Functions

 NodeGfx (NodeNum_t node_idx)
 

Data Fields

float nx_wet_time_sec = -1
 'Wet' means "already out of water, producing dripping particles". Set to -1 when not 'wet'. More...
 
NodeNum_t nx_node_idx = NODENUM_INVALID
 
bool nx_no_particles:1
 User-defined attr; disable all particles. More...
 
bool nx_may_get_wet:1
 Attr; enables water drip and vapour. More...
 
bool nx_is_hot:1
 User-defined attr; emits vapour particles when in contact with water. More...
 
bool nx_under_water_prev:1
 State. More...
 
bool nx_no_sparks:1
 User-defined attr;. More...
 

Detailed Description

Gfx attributes/state of a softbody node.

Definition at line 247 of file GfxData.h.

Constructor & Destructor Documentation

◆ NodeGfx()

RoR::NodeGfx::NodeGfx ( NodeNum_t  node_idx)
inline

Definition at line 249 of file GfxData.h.

Field Documentation

◆ nx_is_hot

bool RoR::NodeGfx::nx_is_hot

User-defined attr; emits vapour particles when in contact with water.

Definition at line 264 of file GfxData.h.

◆ nx_may_get_wet

bool RoR::NodeGfx::nx_may_get_wet

Attr; enables water drip and vapour.

Definition at line 263 of file GfxData.h.

◆ nx_no_particles

bool RoR::NodeGfx::nx_no_particles

User-defined attr; disable all particles.

Definition at line 262 of file GfxData.h.

◆ nx_no_sparks

bool RoR::NodeGfx::nx_no_sparks

User-defined attr;.

Definition at line 266 of file GfxData.h.

◆ nx_node_idx

NodeNum_t RoR::NodeGfx::nx_node_idx = NODENUM_INVALID

Definition at line 259 of file GfxData.h.

◆ nx_under_water_prev

bool RoR::NodeGfx::nx_under_water_prev

State.

Definition at line 265 of file GfxData.h.

◆ nx_wet_time_sec

float RoR::NodeGfx::nx_wet_time_sec = -1

'Wet' means "already out of water, producing dripping particles". Set to -1 when not 'wet'.

Definition at line 258 of file GfxData.h.


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