Rigs of Rods 2026.01
Soft-body Physics Simulation
Loading...
Searching...
No Matches
Data Fields
RoR::FreeBeamGfxRequest Struct Reference

Description

Used by MSG_EDI_[ADD/MODIFY]_FREEBEAMGFX_REQUESTED; tailored for use with AngelScript thru GameScript::pushMessage().

Definition at line 292 of file GfxData.h.

Data Fields

int64_t fbr_id = FREEBEAMGFXID_INVALID
 
int64_t fbr_freeforce_primary = FREEFORCEID_INVALID
 
int64_t fbr_freeforce_secondary = FREEFORCEID_INVALID
 
std::string fbr_mesh_name = "beam.mesh"
 
std::string fbr_material_name = "tracks/beam"
 
double fbr_diameter = DEFAULT_BEAM_DIAMETER
 

Field Documentation

◆ fbr_diameter

double RoR::FreeBeamGfxRequest::fbr_diameter = DEFAULT_BEAM_DIAMETER

meters

Definition at line 303 of file GfxData.h.

◆ fbr_freeforce_primary

int64_t RoR::FreeBeamGfxRequest::fbr_freeforce_primary = FREEFORCEID_INVALID

Required.

Definition at line 298 of file GfxData.h.

◆ fbr_freeforce_secondary

int64_t RoR::FreeBeamGfxRequest::fbr_freeforce_secondary = FREEFORCEID_INVALID

Not required for fixed-end beams.

Definition at line 299 of file GfxData.h.

◆ fbr_id

int64_t RoR::FreeBeamGfxRequest::fbr_id = FREEBEAMGFXID_INVALID

ID of the freebeam gfx, use GfxScene::GetFreeBeamGfxNextId()

Definition at line 296 of file GfxData.h.

◆ fbr_material_name

std::string RoR::FreeBeamGfxRequest::fbr_material_name = "tracks/beam"

Definition at line 302 of file GfxData.h.

◆ fbr_mesh_name

std::string RoR::FreeBeamGfxRequest::fbr_mesh_name = "beam.mesh"

Definition at line 301 of file GfxData.h.


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