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

Description

Unified 'grass' and 'grass2'.

Definition at line 77 of file TObjFileFormat.h.

Data Fields

int range {80}
 
Forests::GrassTechnique technique {Forests::GRASSTECH_CROSSQUADS}
 
Forests::FadeTechnique fadetech {Forests::FADETECH_GROW}
 
float sway_speed {0.5f}
 
float sway_length {0.05f}
 
float sway_distrib {10.f}
 
float density {1.f}
 
float min_x {0.2f}
 
float min_y {0.2f}
 
float min_h {-9999.f}
 
float max_x {1.0f}
 
float max_y {0.6f}
 
float max_h {+9999.f}
 
char material_name [TObj::STR_LEN] {}
 
char color_map_filename [TObj::STR_LEN] {}
 
char density_map_filename [TObj::STR_LEN] {}
 
int origin_tobj_line_number {}
 

Field Documentation

◆ color_map_filename

char RoR::TObjGrass::color_map_filename[TObj::STR_LEN] {}

Definition at line 91 of file TObjFileFormat.h.

◆ density

float RoR::TObjGrass::density {1.f}

Definition at line 85 of file TObjFileFormat.h.

◆ density_map_filename

char RoR::TObjGrass::density_map_filename[TObj::STR_LEN] {}

Definition at line 92 of file TObjFileFormat.h.

◆ fadetech

Forests::FadeTechnique RoR::TObjGrass::fadetech {Forests::FADETECH_GROW}

Definition at line 81 of file TObjFileFormat.h.

◆ material_name

char RoR::TObjGrass::material_name[TObj::STR_LEN] {}

Definition at line 90 of file TObjFileFormat.h.

◆ max_h

float RoR::TObjGrass::max_h {+9999.f}

Definition at line 88 of file TObjFileFormat.h.

◆ max_x

float RoR::TObjGrass::max_x {1.0f}

Definition at line 88 of file TObjFileFormat.h.

◆ max_y

float RoR::TObjGrass::max_y {0.6f}

Definition at line 88 of file TObjFileFormat.h.

◆ min_h

float RoR::TObjGrass::min_h {-9999.f}

Definition at line 87 of file TObjFileFormat.h.

◆ min_x

float RoR::TObjGrass::min_x {0.2f}

Definition at line 87 of file TObjFileFormat.h.

◆ min_y

float RoR::TObjGrass::min_y {0.2f}

Definition at line 87 of file TObjFileFormat.h.

◆ origin_tobj_line_number

int RoR::TObjGrass::origin_tobj_line_number {}

Definition at line 94 of file TObjFileFormat.h.

◆ range

int RoR::TObjGrass::range {80}

Definition at line 79 of file TObjFileFormat.h.

◆ sway_distrib

float RoR::TObjGrass::sway_distrib {10.f}

Definition at line 84 of file TObjFileFormat.h.

◆ sway_length

float RoR::TObjGrass::sway_length {0.05f}

Definition at line 83 of file TObjFileFormat.h.

◆ sway_speed

float RoR::TObjGrass::sway_speed {0.5f}

Definition at line 82 of file TObjFileFormat.h.

◆ technique

Definition at line 80 of file TObjFileFormat.h.


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