Package | away3d.containers |
Class | public class View3D |
Inheritance | View3D flash.display.Sprite |
Property | Defined by | ||
---|---|---|---|
_addedToStage : Boolean | View3D | ||
antiAlias : uint
The amount of anti-aliasing to be used.
| View3D | ||
backgroundColor : uint
The background color of the screen.
| View3D | ||
camera : Camera3D
The camera that's used to render the scene for this viewport
| View3D | ||
deltaTime : uint [read-only]
The amount of milliseconds the last render call took
| View3D | ||
height : Number
The height of the viewport
| View3D | ||
renderedFacesCount : uint [read-only]
The amount of faces that were pushed through the render pipeline on the last frame render.
| View3D | ||
renderer : RendererBase
The renderer used to draw the scene.
| View3D | ||
scaleX : Number | View3D | ||
scaleY : Number | View3D | ||
scene : Scene3D
[read-only]
The scene that's used to render for this viewport
| View3D | ||
width : Number
The width of the viewport
| View3D | ||
x : Number
The horizontal coordinate of the top-left position of the viewport.
| View3D | ||
y : Number
The vertical coordinate of the top-left position of the viewport.
| View3D |
Method | Defined by | ||
---|---|---|---|
View3D | |||
dispose():void
Disposes all memory occupied by the view.
| View3D | ||
render():void
Renders the view.
| View3D | ||
unproject(mX:Number, mY:Number):Vector3D
| View3D |
_addedToStage | property |
public var _addedToStage:Boolean
antiAlias | property |
antiAlias:uint
[read-write]The amount of anti-aliasing to be used.
Implementation public function get antiAlias():uint
public function set antiAlias(value:uint):void
backgroundColor | property |
backgroundColor:uint
[read-write]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 | property |
camera:Camera3D
[read-write]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 | property |
deltaTime:uint
[read-only]The amount of milliseconds the last render call took
Implementation public function get deltaTime():uint
height | property |
height:Number
[read-write]The height of the viewport
Implementation public function get height():Number
public function set height(value:Number):void
renderedFacesCount | property |
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 | property |
renderer:RendererBase
[read-write]The renderer used to draw the scene.
Implementation public function get renderer():RendererBase
public function set renderer(value:RendererBase):void
scaleX | property |
scaleX:Number
[read-write]Implementation
public function get scaleX():Number
public function set scaleX(value:Number):void
scaleY | property |
scaleY:Number
[read-write]Implementation
public function get scaleY():Number
public function set scaleY(value:Number):void
scene | property |
scene:Scene3D
[read-only]The scene that's used to render for this viewport
Implementation public function get scene():Scene3D
width | property |
width:Number
[read-write]The width of the viewport
Implementation public function get width():Number
public function set width(value:Number):void
x | property |
x:Number
[read-write]The horizontal coordinate of the top-left position of the viewport.
Implementation public function get x():Number
public function set x(value:Number):void
y | property |
y:Number
[read-write]The vertical coordinate of the top-left position of the viewport.
Implementation public function get y():Number
public function set y(value:Number):void
View3D | () | constructor |
public function View3D(scene:Scene3D = null, camera:Camera3D = null, renderer:DefaultRenderer = null)
Parameters
scene:Scene3D (default = null )
|
|
camera:Camera3D (default = null )
|
|
renderer:DefaultRenderer (default = null )
|
dispose | () | method |
public function dispose():void
Disposes all memory occupied by the view. This will also dispose the renderer.
render | () | method |
public function render():void
Renders the view.
unproject | () | method |
public function unproject(mX:Number, mY:Number):Vector3D
Parameters
mX:Number |
|
mY:Number |
Vector3D |