RigsofRods
Soft-body Physics Simulation
Public Member Functions
Script2Game::ProceduralRoadClass Class Reference

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...
 

Detailed Description

Binding of RoR::ProceduralRoad; a dynamically generated road mesh.

Note
For internal use by ProceduralManagerClass - do not use unless you know what you're doing!

Definition at line 43 of file ProceduralRoadClass.h.

Member Function Documentation

◆ addBlock()

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!

◆ addCollisionQuad()

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!

◆ addQuad()

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!

◆ createMesh()

void Script2Game::ProceduralRoadClass::createMesh ( )

For internal use by ProceduralManagerClass - do not use unless you know what you're doing!

◆ finish()

void Script2Game::ProceduralRoadClass::finish ( )

For internal use by ProceduralManagerClass - do not use unless you know what you're doing!

◆ setCollisionEnabled()

void Script2Game::ProceduralRoadClass::setCollisionEnabled ( bool  v)

For internal use by ProceduralManagerClass - do not use unless you know what you're doing!


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