ChangeCurrentCamera

From MaratisWiki
(Difference between revisions)
Jump to: navigation, search
m
m
 
Line 1: Line 1:
 
{{lua-function|changeCurrentCamera|object}}
 
{{lua-function|changeCurrentCamera|object}}
  
Change a scene current camera
+
Change a scene current camera.
 +
 
 +
{{lua-function-param|object|object to operate on}}
  
 
     -- current scene
 
     -- current scene

Latest revision as of 00:05, 9 February 2014

changeCurrentCamera(object)

Change a scene current camera.

  • object : object to operate on
   -- current scene
   Camera = getObject("Camera")
   changeCurrentCamera(Camera)
   
   -- other scene
   scene2 = getScene("scene2")
   scene2Camera = getObject(scene2, "Camera")
   changeCurrentCamera(scene2, scene2Camera)
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox