RigsofRods
Soft-body Physics Simulation
Public Member Functions | Data Fields
Script2Game::ProceduralObjectClass Class Reference

Binding of RoR::ProceduralObject; a spline for generating dynamic roads. More...

#include <ProceduralObjectClass.h>

Public Member Functions

void addPoint (procedural_point)
 Adds point at the end. More...
 
void insertPoint (int pos, procedural_point)
 Adds point before the element at the specified position. More...
 
void deletePoint (int pos)
 
procedural_point getPoint (int pos)
 
int getNumPoints ()
 
ProceduralRoadClass getRoad ()
 

Data Fields

string name
 Name of the road/street this spline represents. More...
 

Detailed Description

Binding of RoR::ProceduralObject; a spline for generating dynamic roads.

Definition at line 15 of file ProceduralObjectClass.h.

Member Function Documentation

◆ addPoint()

void Script2Game::ProceduralObjectClass::addPoint ( procedural_point  )

Adds point at the end.

◆ deletePoint()

void Script2Game::ProceduralObjectClass::deletePoint ( int  pos)

◆ getNumPoints()

int Script2Game::ProceduralObjectClass::getNumPoints ( )

◆ getPoint()

procedural_point Script2Game::ProceduralObjectClass::getPoint ( int  pos)

◆ getRoad()

ProceduralRoadClass Script2Game::ProceduralObjectClass::getRoad ( )

◆ insertPoint()

void Script2Game::ProceduralObjectClass::insertPoint ( int  pos,
procedural_point   
)

Adds point before the element at the specified position.

Field Documentation

◆ name

string Script2Game::ProceduralObjectClass::name

Name of the road/street this spline represents.

Definition at line 21 of file ProceduralObjectClass.h.


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