Packageaway3d.events
Classpublic class ViewEvent
InheritanceViewEvent Inheritance flash.events.Event

Passed as a parameter when a view3d event occurs

Public Properties
 PropertyDefined by
  view : View3D
A reference to the view object that is relevant to the event.
ViewEvent
Public Methods
 MethodDefined by
  
ViewEvent
(type:String, view:View3D)
Creates a new ViewEvent object.
ViewEvent
  
clone():Event
Creates a copy of the ViewEvent object and sets the value of each property to match that of the original.
ViewEvent
Public Constants
 ConstantDefined by
  RENDER_BEGIN : String = "renderBegin"
[static] Defines the value of the type property of a renderBegin event object.
ViewEvent
  RENDER_COMPLETE : String = "renderComplete"
[static] Defines the value of the type property of a renderComplete event object.
ViewEvent
  RENDER_START : String = "renderStart"
[static] Defines the value of the type property of a renderStart event object.
ViewEvent
  VIEW_UPDATED : String = "viewUpdated"
[static] Defines the value of the type property of a viewUpdated event object.
ViewEvent
Property detail
viewproperty
public var view:View3D

A reference to the view object that is relevant to the event.

Constructor detail
ViewEvent()constructor
public function ViewEvent(type:String, view:View3D)Parameters
type:String — The type of the event. Possible values are: ViewEvent.UPDATE_SCENE, ViewEvent.RENDER_COMPLETE and ViewEvent.RENDER_BEGIN.
 
view:View3D — A reference to the view object that is relevant to the event.
Init Parameters
Method detail
clone()method
public override function clone():Event

Creates a copy of the ViewEvent object and sets the value of each property to match that of the original.

Returns
Event
Constant detail
RENDER_BEGINconstant
public static const RENDER_BEGIN:String = "renderBegin"

Defines the value of the type property of a renderBegin event object.

RENDER_COMPLETEconstant 
public static const RENDER_COMPLETE:String = "renderComplete"

Defines the value of the type property of a renderComplete event object.

RENDER_STARTconstant 
public static const RENDER_START:String = "renderStart"

Defines the value of the type property of a renderStart event object.

VIEW_UPDATEDconstant 
public static const VIEW_UPDATED:String = "viewUpdated"

Defines the value of the type property of a viewUpdated event object.

Wiki link
Click to go to the wiki page for 'away3d.events.ViewEvent'

Code examples

Comments