Rigs of Rods 2026.01
Soft-body Physics Simulation
Loading...
Searching...
No Matches
ProceduralObjectClass.h
Go to the documentation of this file.
1
2namespace Script2Game {
3
16{
17public:
18
23
28
33
37 string getName();
41 void setName(const string&in name);
42
46 void addPoint(procedural_point);
47
51 void insertPoint(int pos, procedural_point);
52 void deletePoint(int pos);
53 procedural_point getPoint(int pos);
56};
57
60
61} //namespace Script2Game
Binding of RoR::ProceduralObject; a spline for generating dynamic roads.
string getName()
Name of the road/street this spline represents.
void addPoint(procedural_point)
Adds point at the end.
int smoothing_num_splits
Property (read/write), default 0: Use 0 to disable smoothing.
void insertPoint(int pos, procedural_point)
Adds point before the element at the specified position.
procedural_point getPoint(int pos)
string custom_material_name
Property (read/write), default "": Set to empty string to use default material.
bool collision_enabled
Property (read/write), default true: Disabling collisions makes loading map faster (useful for debugg...
void setName(const string &in name)
Name of the road/street this spline represents.
ProceduralRoadClass getRoad()
Binding of RoR::ProceduralRoad; a dynamically generated road mesh.
Pseudo-namespace; it doesn't exist in code or script runtime, only in this documentation.