ChangeCurrentCamera

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

Revision as of 17:12, 8 February 2014

changeCurrentCamera(object)

Change a scene current camera

   -- 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