Packagecom.rockonflash.papervision3d.scenes
Classpublic class SceneManager
InheritanceSceneManager Inheritance flash.events.EventDispatcher

SceneManager is a quick and easy way to create Papervision3D scenes complete with camera and timer functionality for updating the scene. Also provides access to the scene and camara objects



Public Properties
 PropertyDefined by
  camera : FreeCamera3D
The Papervision3D camera (FreeCamera3D) object reference
SceneManager
  canvas : Sprite
The canvas/Sprite where the scene is rendered
SceneManager
  scene : SceneObject3D
The Papervision3D scene (MovieScene3D) object reference
SceneManager
Public Methods
 MethodDefined by
  
SceneManager(target:IEventDispatcher = null)
SceneManager
  
create3DScene(p_sprite:Sprite):void
This stores the canvas area, creates the scene, creates the camera, and adds the timer event listener
SceneManager
  
[static]
SceneManager
  
monitorScene():void
Starts rendering the camera to the scene
SceneManager
  
Stops rendering the camera to the scene
SceneManager
Property detail
cameraproperty
public var camera:FreeCamera3D

The Papervision3D camera (FreeCamera3D) object reference

canvasproperty 
canvas:Sprite  [read-write]

The canvas/Sprite where the scene is rendered

Implementation
    public function get canvas():Sprite
    public function set canvas(value:Sprite):void
sceneproperty 
public var scene:SceneObject3D

The Papervision3D scene (MovieScene3D) object reference

Constructor detail
SceneManager()constructor
public function SceneManager(target:IEventDispatcher = null)Parameters
target:IEventDispatcher (default = null)
Method detail
create3DScene()method
public function create3DScene(p_sprite:Sprite):void

This stores the canvas area, creates the scene, creates the camera, and adds the timer event listener

Parameters
p_sprite:Sprite — Sprite Pass in the canvas area where the 3D scene is to be projected
getInstance()method 
public static function getInstance():SceneManager

Returns
SceneManager
monitorScene()method 
public function monitorScene():void

Starts rendering the camera to the scene

stopMonitorScene()method 
public function stopMonitorScene():void

Stops rendering the camera to the scene