Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: found and replaced Scene Graph with SceneGraph (no space)

Table of Contents

Table of Contents
indent18px
stylesquare

...

The roSGNode object is the BrightScript equivalent of SceneGraph XML file node creation.

...

Where nodetype is a string specifying the node class to be created. For example, the following creates an object of the Scene Graph SceneGraph Poster node class:

CreateObject("roSGNode", "Poster")

Reference information on all Scene Graph SceneGraph node classes can be found in this SceneGraph API Reference.

Prior to creating an roSGScreen object and calling its show() function, creating roSGNode objects and using their interfaces is not guaranteed to work correctly. If you need to create some roSGNode objects and/or use roSGNode interfaces prior to calling an roSGScreen object show() function, you can use an roSGScreen object createScene() function to create an instance of a Scene Graph SceneGraph XML component that does any required setup and initialization prior to the roSGScreen object being displayed.

...