Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 15 Next »

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

FieldTypeDefaultUse
backgroundURIURI stringsystem defaultSpecifies a graphic image file to be used for the Scene node background.
backgroundColorcolor0x000000FFSpecifies a background color for the scene. This color is only used if backgroundURI is set to the empty string.
dialogDialogTBD NULL null pointer? TBDSetting this field to a node extended from the Dialog node causes the dialog to be displayed. TBD need to clarify somewhere that all node types are actually pointers to node objects as found in the Scene Graph tree, right? TBD
backExitsScene

Boolean

trueIf true, then a Back key press will cause the scene to exit. If false, then Back key presses do not cause the scene to exit.

Data Bindings

None

 

  • No labels