RigsofRods
Soft-body Physics Simulation
Data Fields
RoR::TuneupWheelTweak Struct Reference

< Data of 'addonpart_tweak_wheel <wheel ID> <media1> <media2> <side flag> <tire radius> <rim radius>' More...

#include <TuneupFileFormat.h>

Data Fields

WheelID_t twt_wheel_id = WHEELID_INVALID
 Arg#1, required. More...
 
std::array< std::string, 2 > twt_media
 twt_media[0] Arg#2, required ('wheels[2]': face material, 'meshwheels[2]/flexbodywheels': rim mesh) twt_media[1] Arg#3, optional ('wheels[2]': band material, 'meshwheels[2]/flexbodywheels': tire material) More...
 
WheelSide twt_side = WheelSide::INVALID
 Arg#4, optional, default LEFT (Only applicable to mesh/flexbody wheels) More...
 
float twt_tire_radius = -1.f
 Arg#5, optional. More...
 
float twt_rim_radius = -1.f
 Arg#6, optional, only applies to some wheel types. More...
 
std::string twt_origin
 Addonpart filename. More...
 

Detailed Description

< Data of 'addonpart_tweak_wheel <wheel ID> <media1> <media2> <side flag> <tire radius> <rim radius>'

Definition at line 51 of file TuneupFileFormat.h.

Field Documentation

◆ twt_media

std::array<std::string, 2> RoR::TuneupWheelTweak::twt_media

twt_media[0] Arg#2, required ('wheels[2]': face material, 'meshwheels[2]/flexbodywheels': rim mesh) twt_media[1] Arg#3, optional ('wheels[2]': band material, 'meshwheels[2]/flexbodywheels': tire material)

Definition at line 56 of file TuneupFileFormat.h.

◆ twt_origin

std::string RoR::TuneupWheelTweak::twt_origin

Addonpart filename.

Definition at line 60 of file TuneupFileFormat.h.

◆ twt_rim_radius

float RoR::TuneupWheelTweak::twt_rim_radius = -1.f

Arg#6, optional, only applies to some wheel types.

Definition at line 59 of file TuneupFileFormat.h.

◆ twt_side

WheelSide RoR::TuneupWheelTweak::twt_side = WheelSide::INVALID

Arg#4, optional, default LEFT (Only applicable to mesh/flexbody wheels)

Definition at line 57 of file TuneupFileFormat.h.

◆ twt_tire_radius

float RoR::TuneupWheelTweak::twt_tire_radius = -1.f

Arg#5, optional.

Definition at line 58 of file TuneupFileFormat.h.

◆ twt_wheel_id

WheelID_t RoR::TuneupWheelTweak::twt_wheel_id = WHEELID_INVALID

Arg#1, required.

Definition at line 53 of file TuneupFileFormat.h.


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