scene¶
-
class
guerilla.
scene
¶ Bases:
object
A scene object that contains a scene graph to traverse
-
static
instanciate
(name, source, instance)¶ Create an instanciating scene from an input scene and a scene to instanciate
Parameters: Returns: the new sceneinstanciate
Return type:
-
static
merge
(name, inputs)¶ Create a merge scene from an input scenes
Parameters: Returns: the new scenemerge
Return type:
-
static
override
(name, input)¶ Create an override scene from an input scene
Parameters: Returns: the new sceneoverride
Return type:
-
static
setevalprogress
(progress)¶ Set the current progression of the scene evaluation
Parameters: progress (number) – the progression, between 0 and 1
-
static
setevalresult
(result)¶ Store the Lua/Python script evaluation result
Parameters: result ( scene
) – the evaluated scene
-
static
unode
(name)¶ Create a user scenegraphnode
Parameters: name (str) – the name of the scene Returns: the new user node Return type: unode
-
static
uref
(refpath)¶ Create ref data chunk
Parameters: refpath (str) – the path to the referenced scene Returns: the new user ref chuck Return type: uref
-
static
urefnode
(name, refpath)¶ Create a user scenegraphnode that references a scene node
Parameters: Returns: the new user ref node
Return type:
-
static