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 11 Next »

Extends: Group 

Description

The Scene node class serves as the root of a Scene Graph. 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 TBD how do C++ subclasses figure into this or anywhere as noted in the original remarks in the code fragment below? TBD. 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 string""Specifies a graphic image file to be used for the Scene node background. TBD only use if the useThemeBackground field is set to false, except of course this should/is a case where you just override the default by setting the field TBD
backgroundColorcolorTBD find default color TBDSpecifies a background color for the scene. TBD Note: This color is only used if the useThemeBackground field is set to false and the backgroundURI field is either empty or invalid. except it's probably just another override TBD
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.
useThemeBackgroundBooleantrueTBD When true, the background image defined by the current theme is displayed. When false, if the backgroundURI field contains an valid image filename, that image is displayed. If useThemeBackground is false and backgroundUri is empty or invalid, the display is cleared to the value in the backgroundColor field. except this is probably a pointless field TBD

Data Bindings

None

 

  • No labels