sceneΒΆ

class scene

A scene object that contains a scene graph to traverse

Hierarchy

Children classes : class sceneinstanciate , class scenemerge , class sceneoverride , class uscene

Members

Functions:

sceneinstanciate instanciate instanciate ( string name , scene source , scene instance ) Create an instanciating scene from an input scene and a scene to instanciate
scenemerge merge merge ( string name , {scene} inputs ) Create a merge scene from an input scenes
sceneoverride override override ( string name , scene input ) Create an override scene from an input scene
nil setevalprogress ( number progress ) Set the current progression of the scene evaluation
nil setevalresult ( scene result ) Store the Lua/Python script evaluation result
unode usernode unode ( string name ) Create a user scenegraphnode
uref chunk uref ( string refpath ) Create ref data chunk
urefnode refnode urefnode ( string name , string refpath ) Create a user scenegraphnode that references a scene node
uscene userscene uscene ( string name ) Create a user scene

Documentation

sceneinstanciate instanciate instanciate ( string name , scene source , scene instance )

Create an instanciating scene from an input scene and a scene to instanciate

Arguments:

  • name the name of the scene
  • source the scene to use a source
  • instance the scene to use an instance

Return:

  • instanciate the new sceneinstanciate


scenemerge merge merge ( string name , {scene} inputs )

Create a merge scene from an input scenes

Arguments:

  • name the name of the scene
  • inputs the scenes to merge

Return:

  • merge the new scenemerge


sceneoverride override override ( string name , scene input )

Create an override scene from an input scene

Arguments:

  • name the name of the scene
  • input the scene to override

Return:

  • override the new sceneoverride


nil setevalprogress ( number progress )

Set the current progression of the scene evaluation

Arguments:

  • progress the progression, between 0 and 1


nil setevalresult ( scene result )

Store the Lua/Python script evaluation result

Arguments:

  • result the evaluated scene


unode usernode unode ( string name )

Create a user scenegraphnode

Arguments:

  • name the name of the scene

Return:

  • usernode the new user node


uref chunk uref ( string refpath )

Create ref data chunk

Arguments:

  • refpath the path to the referenced scene

Return:

  • chunk the new user ref chuck


urefnode refnode urefnode ( string name , string refpath )

Create a user scenegraphnode that references a scene node

Arguments:

  • name the name of the node
  • refpath the path to the referenced scene

Return:

  • refnode the new user ref node


uscene userscene uscene ( string name )

Create a user scene

Arguments:

  • name the name of the scene

Return:

  • userscene the new user scene