EnableCameraLayer

From MaratisWiki
Revision as of 22:21, 3 April 2014 by Anael (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

enableCameraLayer(camera, scene)

Enable a camera layer (draws a separate scene on top of the specified camera). It can be used to draw an interface on top of a game.
note : the layer will be visible when the specified camera is active

  • camera : camera
  • scene : scene
   GuiScene = getScene("GuiScene")
   Camera = getObject("Camera")
   enableCameraLayer(Camera, GuiScene)
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox