Packageorg.papervision3d.core.components.as3.flash9
Classpublic class PV3DScene3D
InheritancePV3DScene3D Inheritance PV3DUIComponent Inheritance flash.display.MovieClip
SubclassesPV3DColladaScene

PV3DScene3D creates a MovieScene3D and FreeCamera3D for quick scene and resize management. You can access the scene and camera for full control with code at runtime.



Public Properties
 PropertyDefined by
  camera : CameraObject3D
The camera used by the component.
PV3DScene3D
 InheritedclipContent : Boolean = false
Whether or not you want the scene to have a mask applied to the area of the component.
PV3DUIComponent
  renderer : BasicRenderEngine
PV3DScene3D
 InheritedresizeWithStage : Boolean
PV3DUIComponent
  scene : Scene3D
PV3DScene3D
 InheritedsceneHeight : Number = 240
Height of your component on stage
PV3DUIComponent
 InheritedsceneWidth : Number = 320
Width of your component on stage
PV3DUIComponent
  viewport : Viewport3D
PV3DScene3D
Protected Properties
 PropertyDefined by
  canvas : Sprite = null
The sprite container where the scene will be drawn
PV3DScene3D
Public Methods
 MethodDefined by
  
PV3DScene3D
  
pause():void
Used to pause the rendering of the scene
PV3DScene3D
  
resume():void
Used to resume the rendering of the scene
PV3DScene3D
 Inherited
setSize(w:Number, h:Number):void
Pass in width and height to change the size of the component on stage.
PV3DUIComponent
Protected Methods
 MethodDefined by
  
createScene():void
PV3DScene3D
Events
 EventSummaryDefined by
 Inherited Dispatched when the component has been initialized.PV3DUIComponent
   Dispatched when the Scene3D has been created along with the camera.PV3DScene3D
Public Constants
 ConstantDefined by
 InheritedINIT_COMPLETE : String = "initComplete"
[static]
PV3DUIComponent
  SCENE_INIT : String = "sceneInit"
[static]
PV3DScene3D
Property detail
cameraproperty
camera:CameraObject3D  [read-write]

The camera used by the component. FreeCamer3D by default

Implementation
    public function get camera():CameraObject3D
    public function set camera(value:CameraObject3D):void
canvasproperty 
protected var canvas:Sprite = null

The sprite container where the scene will be drawn

rendererproperty 
public var renderer:BasicRenderEngine
sceneproperty 
scene:Scene3D  [read-write]Implementation
    public function get scene():Scene3D
    public function set scene(value:Scene3D):void
viewportproperty 
public var viewport:Viewport3D
Constructor detail
PV3DScene3D()constructor
public function PV3DScene3D()
Method detail
createScene()method
protected function createScene():void
pause()method 
public function pause():void

Used to pause the rendering of the scene

resume()method 
public function resume():void

Used to resume the rendering of the scene

Event detail
sceneInitevent 
Event object type: flash.events.Event

Dispatched when the Scene3D has been created along with the camera.

Constant detail
SCENE_INITconstant
public static const SCENE_INIT:String = "sceneInit"