RigsofRods
Soft-body Physics Simulation
|
Binding of RoR::ProceduralRoad; a dynamically generated road mesh. More...
#include <ProceduralRoadClass.h>
Public Member Functions | |
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! More... | |
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! More... | |
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! More... | |
void | createMesh () |
For internal use by ProceduralManagerClass - do not use unless you know what you're doing! More... | |
void | finish () |
For internal use by ProceduralManagerClass - do not use unless you know what you're doing! More... | |
void | setCollisionEnabled (bool v) |
For internal use by ProceduralManagerClass - do not use unless you know what you're doing! More... | |
Binding of RoR::ProceduralRoad; a dynamically generated road mesh.
Definition at line 43 of file ProceduralRoadClass.h.
void Script2Game::ProceduralRoadClass::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 Script2Game::ProceduralRoadClass::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 Script2Game::ProceduralRoadClass::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 Script2Game::ProceduralRoadClass::createMesh | ( | ) |
For internal use by ProceduralManagerClass - do not use unless you know what you're doing!
void Script2Game::ProceduralRoadClass::finish | ( | ) |
For internal use by ProceduralManagerClass - do not use unless you know what you're doing!
void Script2Game::ProceduralRoadClass::setCollisionEnabled | ( | bool | v | ) |
For internal use by ProceduralManagerClass - do not use unless you know what you're doing!