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

Binding of RoR::ProceduralManager; generates dynamic roads for terrain. More...

#include <ProceduralManagerClass.h>

Public Member Functions

void addObject (ProceduralObjectClass @po)
 Generates road mesh and adds to internal list. More...
 
void removeObject (ProceduralObjectClass @po)
 Clears road mesh and removes from internal list. More...
 
int getNumObjects ()
 
ProceduralObjectClass getObject (int pos)
 

Detailed Description

Binding of RoR::ProceduralManager; generates dynamic roads for terrain.

Note
Obtain the object using game.getTerrain().getProceduralManager().

Definition at line 16 of file ProceduralManagerClass.h.

Member Function Documentation

◆ addObject()

void Script2Game::ProceduralManagerClass::addObject ( ProceduralObjectClass po)

Generates road mesh and adds to internal list.

◆ getNumObjects()

int Script2Game::ProceduralManagerClass::getNumObjects ( )

◆ getObject()

ProceduralObjectClass Script2Game::ProceduralManagerClass::getObject ( int  pos)

◆ removeObject()

void Script2Game::ProceduralManagerClass::removeObject ( ProceduralObjectClass po)

Clears road mesh and removes from internal list.


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