| Package | org.papervision3d.core.components.as3.flash9 |
| Class | public class PV3DScene3D |
| Inheritance | PV3DScene3D PV3DUIComponent flash.display.MovieClip |
| Subclasses | PV3DColladaScene |
| Property | Defined by | ||
|---|---|---|---|
| camera : Camera3D
The camera used by the component.
| PV3DScene3D | ||
![]() | clipContent : Boolean = false
Whether or not you want the scene to have a mask applied to the area of the component.
| PV3DUIComponent | |
| renderer : BasicRenderEngine | PV3DScene3D | ||
![]() | resizeWithStage : Boolean | PV3DUIComponent | |
| scene : Scene3D | PV3DScene3D | ||
![]() | sceneHeight : Number = 240
Height of your component on stage
| PV3DUIComponent | |
![]() | sceneWidth : Number = 320
Width of your component on stage
| PV3DUIComponent | |
| viewport : Viewport3D | PV3DScene3D | ||
| Property | Defined by | ||
|---|---|---|---|
| canvas : Sprite = null
The sprite container where the scene will be drawn
| PV3DScene3D | ||
| Method | Defined by | ||
|---|---|---|---|
| PV3DScene3D | |||
|
pause():void
Used to pause the rendering of the scene
| PV3DScene3D | ||
|
resume():void
Used to resume the rendering of the scene
| PV3DScene3D | ||
![]() |
setSize(w:Number, h:Number):void
Pass in width and height to change the size of the component on stage.
| PV3DUIComponent | |
| Method | Defined by | ||
|---|---|---|---|
|
createScene():void
| PV3DScene3D | ||
| Event | Summary | Defined by | ||
|---|---|---|---|---|
![]() | Dispatched when the component has been initialized. | PV3DUIComponent | ||
| Dispatched when the Scene3D has been created along with the camera. | PV3DScene3D | |||
| Constant | Defined by | ||
|---|---|---|---|
![]() | INIT_COMPLETE : String = "initComplete" [static]
| PV3DUIComponent | |
| SCENE_INIT : String = "sceneInit" [static]
| PV3DScene3D | ||
| camera | property |
camera:Camera3D [read-write]The camera used by the component. A 'free' Camera3D by default
Implementation public function get camera():Camera3D
public function set camera(value:Camera3D):void
| canvas | property |
protected var canvas:Sprite = nullThe sprite container where the scene will be drawn
| renderer | property |
public var renderer:BasicRenderEngine
| scene | property |
scene:Scene3D [read-write]Implementation
public function get scene():Scene3D
public function set scene(value:Scene3D):void
| viewport | property |
public var viewport:Viewport3D
| PV3DScene3D | () | constructor |
public function PV3DScene3D()
| createScene | () | method |
protected function createScene():void
| pause | () | method |
public function pause():voidUsed to pause the rendering of the scene
| resume | () | method |
public function resume():voidUsed to resume the rendering of the scene
| sceneInit | event |
flash.events.Event
Dispatched when the Scene3D has been created along with the camera.
| SCENE_INIT | constant |
public static const SCENE_INIT:String = "sceneInit"