protected var _aspectRatio:Number
protected var _backBufferInvalid:Boolean = true
protected var _camera:Camera3D
protected var _depthRender:Texture
protected var _entityCollector:EntityCollector
protected var _filter3DRenderer:Filter3DRenderer
protected var _parentIsStage:Boolean
protected var _renderer:RendererBase
protected var _requireDepthRender:Boolean
protected var _rttBufferManager:RTTBufferManager
protected var _scene:Scene3D
protected var _stage3DProxy:Stage3DProxy
antiAlias:uint
The amount of anti-aliasing to be used.
Implementation public function get antiAlias():uint
public function set antiAlias(value:uint):void
background:Texture2DBase
Implementation public function get background():Texture2DBase
public function set background(value:Texture2DBase):void
backgroundAlpha:Number
Implementation public function get backgroundAlpha():Number
public function set backgroundAlpha(value:Number):void
backgroundColor:uint
The background color of the screen. This value is only used when clearAll is set to true.
Implementation public function get backgroundColor():uint
public function set backgroundColor(value:uint):void
camera:Camera3D
The camera that's used to render the scene for this viewport
Implementation public function get camera():Camera3D
public function set camera(value:Camera3D):void
deltaTime:uint
[read-only]
The amount of milliseconds the last render call took
Implementation public function get deltaTime():uint
filters:Array
[override]
Not supported. Use filters3d instead.
Implementation public function get filters():Array
public function set filters(value:Array):void
filters3d:Array
Implementation public function get filters3d():Array
public function set filters3d(value:Array):void
forceMouseMove:Boolean
Forces mouse-move related events even when the mouse hasn't moved. This allows mouseOver and mouseOut events
etc to be triggered due to changes in the scene graph. Defaults to false.
Implementation public function get forceMouseMove():Boolean
public function set forceMouseMove(value:Boolean):void
height:Number
[override]
The height of the viewport. When software rendering is used, this is limited by the
platform to 2048 pixels.
Implementation public function get height():Number
public function set height(value:Number):void
mousePicker:IPicker
Implementation public function get mousePicker():IPicker
public function set mousePicker(value:IPicker):void
renderedFacesCount:uint
[read-only]
The amount of faces that were pushed through the render pipeline on the last frame render.
Implementation public function get renderedFacesCount():uint
renderer:RendererBase
The renderer used to draw the scene.
Implementation public function get renderer():RendererBase
public function set renderer(value:RendererBase):void
rightClickMenuEnabled:Boolean
Implementation public function get rightClickMenuEnabled():Boolean
public function set rightClickMenuEnabled(value:Boolean):void
rotation:Number
[write-only] [override]
Implementation public function set rotation(value:Number):void
rotationX:Number
[write-only] [override]
Implementation public function set rotationX(value:Number):void
rotationY:Number
[write-only] [override]
Implementation public function set rotationY(value:Number):void
rotationZ:Number
[write-only] [override]
Implementation public function set rotationZ(value:Number):void
scaleX:Number
[write-only] [override]
Implementation public function set scaleX(value:Number):void
scaleY:Number
[write-only] [override]
Implementation public function set scaleY(value:Number):void
scaleZ:Number
[write-only] [override]
Implementation public function set scaleZ(value:Number):void
scene:Scene3D
The scene that's used to render for this viewport
Implementation public function get scene():Scene3D
public function set scene(value:Scene3D):void
shareContext:Boolean
Defers control of Context3D clear() and present() calls to Stage3DProxy, enabling multiple Stage3D frameworks
to share the same Context3D object.
Implementation public function get shareContext():Boolean
public function set shareContext(value:Boolean):void
stage3DProxy:Stage3DProxy
Implementation public function get stage3DProxy():Stage3DProxy
public function set stage3DProxy(value:Stage3DProxy):void
transform:Transform
[write-only] [override]
Implementation public function set transform(value:Transform):void
visible:Boolean
[write-only] [override]
Implementation public function set visible(value:Boolean):void
width:Number
[override]
The width of the viewport. When software rendering is used, this is limited by the
platform to 2048 pixels.
Implementation public function get width():Number
public function set width(value:Number):void
x:Number
[write-only] [override]
Implementation public function set x(value:Number):void
y:Number
[write-only] [override]
Implementation public function set y(value:Number):void
z:Number
[write-only] [override]
Implementation public function set z(value:Number):void
public function View3D(scene:Scene3D = null, camera:Camera3D = null, renderer:RendererBase = null, forceSoftware:Boolean = false)
Parameters | scene:Scene3D (default = null )
|
|
| camera:Camera3D (default = null )
|
|
| renderer:RendererBase (default = null )
|
|
| forceSoftware:Boolean (default = false )
|
public function addSourceURL(url:String):void
Defines a source url string that can be accessed though a View Source option in the right-click menu.
Requires the stats panel to be enabled.
Parameters
| url:String — The url to the source files.
|
public function dispose():void
Disposes all memory occupied by the view. This will also dispose the renderer.
public function getRay(mX:Number, mY:Number, mZ:Number = 0):Vector3D
Returns the ray in scene space from the camera to the point on the screen.
Parameters
| mX:Number — The x coordinate relative to the View3D.
|
|
| mY:Number — The y coordinate relative to the View3D.
|
|
| mZ:Number (default = 0 ) — The z coordinate relative to the View3D.
|
Returns | Vector3D — The ray from the camera to the scene space position of a point on the projection plane.
|
public function project(point3d:Vector3D):Vector3D
Parameters
Returns public function render():void
Renders the view.
protected function renderSceneDepth(entityCollector:EntityCollector):void
Parameters
public function unproject(mX:Number, mY:Number, mZ:Number = 0):Vector3D
Calculates the scene position of the given screen coordinates.
Parameters
| mX:Number — The x coordinate relative to the View3D.
|
|
| mY:Number — The y coordinate relative to the View3D.
|
|
| mZ:Number (default = 0 ) — The z coordinate relative to the View3D.
|
Returns | Vector3D — The scene position of the given screen coordinates. The returned point corresponds to a point on the projection plane.
|
protected function updateBackBuffer():void
Updates the backbuffer dimensions.
protected function updateGlobalPos():void
protected function updateTime():void
Tue Jul 17 2012, 10:37 AM +01:00