Scene
Description
The Scene object represents the current scene in RoadRunner. Use a Scene object to specify the scene in which to add
scene components, such as roads and lanes.
Creation
To return the Scene object that represents your current RoadRunner scene, extract the Scene property of your roadrunnerAPI object and
assign it to a variable.
For example, to create the Scene object scn from the
roadrunner object rrApp, you can create a
roadrunnerAPI object using rrApp and extract the
Scene property of the roadrunnerAPI object:
scn = roadrunnerAPI(rrApp).Scene
Properties
Object Functions
addLineArcRoad | Add road with line-arc horizontal curve type to RoadRunner scene |
addSegmentedRoad | Add road with segmented curve type to RoadRunner scene |
addClothoidFitRoad | Add clothoid curve type road to RoadRunner scene |
Examples
Version History
Introduced in R2025a