RigsofRods
Soft-body Physics Simulation
ProceduralObjectClass.h
Go to the documentation of this file.
1 
2 namespace Script2Game {
3 
16 {
17 public:
21  string name;
22 
26  void addPoint(procedural_point);
27 
31  void insertPoint(int pos, procedural_point);
32  void deletePoint(int pos);
33  procedural_point getPoint(int pos);
34  int getNumPoints();
36 };
37 
40 
41 } //namespace Script2Game
Script2Game::ProceduralObjectClass::getRoad
ProceduralRoadClass getRoad()
Script2Game
Pseudo-namespace; it doesn't exist in code or script runtime, only in this documentation.
Definition: BeamClass.h:2
Script2Game::ProceduralObjectClass::getNumPoints
int getNumPoints()
Script2Game::ProceduralObjectClass::addPoint
void addPoint(procedural_point)
Adds point at the end.
Script2Game::ProceduralObjectClass::deletePoint
void deletePoint(int pos)
Script2Game::ProceduralObjectClass
Binding of RoR::ProceduralObject; a spline for generating dynamic roads.
Definition: ProceduralObjectClass.h:15
Script2Game::ProceduralRoadClass
Binding of RoR::ProceduralRoad; a dynamically generated road mesh.
Definition: ProceduralRoadClass.h:43
Script2Game::ProceduralObjectClass::getPoint
procedural_point getPoint(int pos)
Script2Game::ProceduralObjectClass::name
string name
Name of the road/street this spline represents.
Definition: ProceduralObjectClass.h:21
Script2Game::ProceduralObjectClass::insertPoint
void insertPoint(int pos, procedural_point)
Adds point before the element at the specified position.