Scene.RootNode

Scene.RootNode property

Gets the root node of the scene.

public Node RootNode { get; }

Property Value

The root node.

Examples

The following code shows how to create a node with Box entity attached to the root node.

Scene scene = new Scene();
scene.RootNode.CreateChildNode(new Box());
scene.Save("box.stl");

See Also