Class Scene

Class Hierarchy

Scene is a 3D node that is the root node for other 3D nodes.

A scene node is special 3D node in the sense that their parent is always a viewport layer, so they create a connection between 2D and 3D nodes.

Besides bridging 2D and 3D nodes, the scene also specifies which camera is used to render the contents of its parent viewport.

See also

Inherits properties and message types from SceneMetadata.

Synopsis

Methods
create()

Creates a new scene node

Scene.Scene:create(name)

Creates a new scene node.

Parameters
name (string)

Name of the node.

Return Values
(Scene)

The created node.