| Package | com.rockonflash.papervision3d.scenes |
| Class | public class SceneManager |
| Inheritance | SceneManager flash.events.EventDispatcher |
| Property | Defined 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 | ||
| Method | Defined 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 | ||
|
stopMonitorScene():void
Stops rendering the camera to the scene
| SceneManager | ||
| camera | property |
public var camera:FreeCamera3DThe Papervision3D camera (FreeCamera3D) object reference
| canvas | property |
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
| scene | property |
public var scene:SceneObject3DThe Papervision3D scene (MovieScene3D) object reference
| SceneManager | () | constructor |
public function SceneManager(target:IEventDispatcher = null)Parameters
target:IEventDispatcher (default = null) |
| create3DScene | () | method |
public function create3DScene(p_sprite:Sprite):voidThis stores the canvas area, creates the scene, creates the camera, and adds the timer event listener
Parametersp_sprite:Sprite — Sprite Pass in the canvas area where the 3D scene is to be projected
|
| getInstance | () | method |
| monitorScene | () | method |
public function monitorScene():voidStarts rendering the camera to the scene
| stopMonitorScene | () | method |
public function stopMonitorScene():voidStops rendering the camera to the scene