Package | away3dlite.containers |
Class | public class View3D |
Inheritance | View3D flash.display.Sprite |
Property | Defined by | ||
---|---|---|---|
camera : Camera3D
Camera used when rendering.
| View3D | ||
clipping : Clipping
Clipping used when rendering.
| View3D | ||
mouseEnabled3D : Boolean = true
Specifies whether the view receives 3d mouse events.
| View3D | ||
mouseZeroMove : Boolean
Forces mousemove events to fire even when cursor is static.
| View3D | ||
renderedFaces : int [read-only]
Returns the total amount of faces rendered in the last executed render
| View3D | ||
renderedObjects : int [read-only]
Returns the total amount of objects rendered in the last executed render
| View3D | ||
renderer : Renderer
Renderer object used to traverse the scenegraph and output the drawing primitives required to render the scene to the view.
| View3D | ||
scene : Scene3D
Scene used when rendering.
| View3D | ||
totalFaces : int [read-only]
Returns the total amount of faces processed in the last executed render
| View3D | ||
totalObjects : int [read-only]
Returns the total amount of 3d objects processed in the last executed render
| View3D |
Method | Defined by | ||
---|---|---|---|
View3D
(scene:Scene3D = null, camera:Camera3D = null, renderer:Renderer = null, clipping:Clipping = null)
Creates a new
View3D object. | View3D | ||
addSourceURL(url:String):void
Defines a source url string that can be accessed though a View Source option in the right-click menu.
| View3D | ||
render():void
Renders a snapshot of the view.
| View3D |
camera | property |
camera:Camera3D
[read-write]Camera used when rendering.
Implementation public function get camera():Camera3D
public function set camera(value:Camera3D):void
See also
clipping | property |
clipping:Clipping
[read-write]Clipping used when rendering.
Implementation public function get clipping():Clipping
public function set clipping(value:Clipping):void
See also
mouseEnabled3D | property |
public var mouseEnabled3D:Boolean = true
Specifies whether the view receives 3d mouse events.
See also
mouseZeroMove | property |
public var mouseZeroMove:Boolean
Forces mousemove events to fire even when cursor is static.
renderedFaces | property |
renderedFaces:int
[read-only]Returns the total amount of faces rendered in the last executed render
Implementation public function get renderedFaces():int
See also
renderedObjects | property |
renderedObjects:int
[read-only]Returns the total amount of objects rendered in the last executed render
Implementation public function get renderedObjects():int
See also
renderer | property |
renderer:Renderer
[read-write]Renderer object used to traverse the scenegraph and output the drawing primitives required to render the scene to the view.
Implementation public function get renderer():Renderer
public function set renderer(value:Renderer):void
See also
scene | property |
scene:Scene3D
[read-write]Scene used when rendering.
Implementation public function get scene():Scene3D
public function set scene(value:Scene3D):void
See also
totalFaces | property |
totalFaces:int
[read-only]Returns the total amount of faces processed in the last executed render
Implementation public function get totalFaces():int
See also
totalObjects | property |
totalObjects:int
[read-only]Returns the total amount of 3d objects processed in the last executed render
Implementation public function get totalObjects():int
See also
View3D | () | constructor |
public function View3D(scene:Scene3D = null, camera:Camera3D = null, renderer:Renderer = null, clipping:Clipping = null)
Parameters
scene:Scene3D (default = null ) — Scene used when rendering.
|
|
camera:Camera3D (default = null ) — Camera used when rendering.
|
|
renderer:Renderer (default = null ) — Renderer object used to traverse the scenegraph and output the drawing primitives required to render the scene to the view.
|
|
clipping:Clipping (default = null ) — Clipping used when rendering.
|
addSourceURL | () | method |
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.
Parametersurl:String — The url to the source files.
|
render | () | method |
public function render():void
Renders a snapshot of the view.