Package | away3dlite.templates |
Class | public class Template |
Inheritance | Template flash.display.Sprite |
Subclasses | BasicTemplate, FastTemplate |
Property | Defined by | ||
---|---|---|---|
camera : Camera3D
The camera object used in the template.
| Template | ||
debug : Boolean
Defines if the template is run in debug mode.
| Template | ||
scene : Scene3D
The scene object used in the template.
| Template | ||
title : String
Defines the text appearing in the template title.
| Template | ||
view : View3D
The view object used in the template.
| Template |
Method | Defined by | ||
---|---|---|---|
Template
()
Creates a new
Template object. | Template | ||
start():void
Starts the view rendering.
| Template | ||
stop():void
Stops the view rendering.
| Template |
Method | Defined by | ||
---|---|---|---|
onDebug():void
Fired if debug is set to true.
| Template | ||
onInit():void
Fired on instantiation of the template.
| Template | ||
onPostRender():void
Fired at the end of a render loop.
| Template | ||
onPreRender():void
Fired at the beginning of a render loop.
| Template |
camera | property |
public var camera:Camera3D
The camera object used in the template.
debug | property |
debug:Boolean
[read-write]Defines if the template is run in debug mode.
Implementation public function get debug():Boolean
public function set debug(value:Boolean):void
scene | property |
public var scene:Scene3D
The scene object used in the template.
title | property |
title:String
[read-write]Defines the text appearing in the template title.
Implementation public function get title():String
public function set title(value:String):void
view | property |
public var view:View3D
The view object used in the template.
Template | () | constructor |
public function Template()
Init Parameters
onDebug | () | method |
onInit | () | method |
protected function onInit():void
Fired on instantiation of the template.
onPostRender | () | method |
protected function onPostRender():void
Fired at the end of a render loop.
onPreRender | () | method |
protected function onPreRender():void
Fired at the beginning of a render loop.
start | () | method |
public function start():void
Starts the view rendering.
stop | () | method |
public function stop():void
Stops the view rendering.