Rigs of Rods 2023.09
Soft-body Physics Simulation
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Loading...
Searching...
No Matches
Data Fields
RoR::FreeBeamGfxRequest Struct Reference

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

#include <GfxData.h>

Data Fields

int64_t fbr_id = FREEBEAMGFXID_INVALID
 ID of the freebeam gfx, use GfxScene::GetFreeBeamGfxNextId()
 
int64_t fbr_freeforce_primary = FREEFORCEID_INVALID
 Required.
 
int64_t fbr_freeforce_secondary = FREEFORCEID_INVALID
 Not required for fixed-end beams.
 
std::string fbr_mesh_name = "beam.mesh"
 
std::string fbr_material_name = "tracks/beam"
 
double fbr_diameter = DEFAULT_BEAM_DIAMETER
 meters
 

Detailed Description

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

Definition at line 291 of file GfxData.h.

Field Documentation

◆ fbr_diameter

double RoR::FreeBeamGfxRequest::fbr_diameter = DEFAULT_BEAM_DIAMETER

meters

Definition at line 302 of file GfxData.h.

◆ fbr_freeforce_primary

int64_t RoR::FreeBeamGfxRequest::fbr_freeforce_primary = FREEFORCEID_INVALID

Required.

Definition at line 297 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 298 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 295 of file GfxData.h.

◆ fbr_material_name

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

Definition at line 301 of file GfxData.h.

◆ fbr_mesh_name

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

Definition at line 300 of file GfxData.h.


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