Extends: Group
Description
The Scene node class serves as the root of a Scene Graph node tree. Every roSGScreen object must have a Scene node, or a node that derives from the Scene node class as its root, including an XML markup component that extends the Scene node class or subclass. That node must be created using the roSGScreen createScene()
function, with an argument that is a string of the name of the Scene node object created. For example:
Fields
Field | Type | Default | Use |
---|---|---|---|
backgroundURI | uri | invalid | Specifies a graphic image file to be used for the Scene node background. |
backgroundColor | color | 0x000000FF | Specifies a background color for the scene. This color is only used if the
|
dialog | Dialog | invalid | Setting this field to a node extended from a Dialog node causes the dialog to be displayed |
backExitsScene | Boolean | true | If true, a Back key press causes the scene to exit, back to the last user-focused item. If false, a Back key press does not cause the scene to exit. In order for the Back key to cause the scene to exit, the remote control focus must be explicitly set on the scene, or a child of the scene, using the ifSGNodeFocus interface setFocus(true) function. A Home key press always causes the scene to exit. |