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
ProceduralRoadClass.h
Go to the documentation of this file.
1
2namespace Script2Game {
3
16 */
18{
19public:
23 void addBlock(vector3 pos, quaternion rot, RoadType type, float width, float border_width, float border_height, int pillar_type = 1);
27 void addQuad(vector3 p1, vector3 p2, vector3 p3, vector3 p4, TextureFit texfit, vector3 pos, vector3 lastpos, float width, bool flip = false);
31 void addCollisionQuad(vector3 p1, vector3 p2, vector3 p3, vector3 p4, string const&in gm_name, bool flip = false);
35 void createMesh();
39 void finish();
43 void setCollisionEnabled(bool v);
44};
45
48
49} //namespace Script2Game
quaternion()
Binding of RoR::ProceduralRoad; a dynamically generated road mesh.
void createMesh()
For internal use by ProceduralManagerClass - do not use unless you know what you're doing!
void addCollisionQuad(vector3 p1, vector3 p2, vector3 p3, vector3 p4, string const &in gm_name, bool flip=false)
For internal use by ProceduralManagerClass - do not use unless you know what you're doing!
void addBlock(vector3 pos, quaternion rot, RoadType type, float width, float border_width, float border_height, int pillar_type=1)
For internal use by ProceduralManagerClass - do not use unless you know what you're doing!
void setCollisionEnabled(bool v)
For internal use by ProceduralManagerClass - do not use unless you know what you're doing!
void addQuad(vector3 p1, vector3 p2, vector3 p3, vector3 p4, TextureFit texfit, vector3 pos, vector3 lastpos, float width, bool flip=false)
For internal use by ProceduralManagerClass - do not use unless you know what you're doing!
void finish()
For internal use by ProceduralManagerClass - do not use unless you know what you're doing!
Pseudo-namespace; it doesn't exist in code or script runtime, only in this documentation.
RoadType
Binding of RoR::RoadType, used with Script2Game::ProceduralRoadClass.
Definition RoadType.h:20
TextureFit
Binding of RoR::TextureFit, used with Script2Game::ProceduralRoadClass.
Definition TextureFit.h:20