Packageaway3d.events
Classpublic class CameraEvent
InheritanceCameraEvent Inheritance flash.events.Event

Passed as a parameter when a camera event occurs

Public Properties
 PropertyDefined by
  camera : Camera3D
A reference to the session object that is relevant to the event.
CameraEvent
Public Methods
 MethodDefined by
  
CameraEvent
(type:String, camera:Camera3D)
Creates a new FaceEvent object.
CameraEvent
  
clone():Event
Creates a copy of the FaceEvent object and sets the value of each property to match that of the original.
CameraEvent
Public Constants
 ConstantDefined by
  CAMERA_UPDATED : String = "cameraUpdated"
[static] Defines the value of the type property of a cameraUpdated event object.
CameraEvent
Property detail
cameraproperty
public var camera:Camera3D

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

Constructor detail
CameraEvent()constructor
public function CameraEvent(type:String, camera:Camera3D)Parameters
type:String — The type of the event. Possible values are: FaceEvent.UPDATED.
 
camera:Camera3D — A reference to the camera object that is relevant to the event.
Init Parameters
Method detail
clone()method
public override function clone():Event

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

Returns
Event
Constant detail
CAMERA_UPDATEDconstant
public static const CAMERA_UPDATED:String = "cameraUpdated"

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

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

Code examples

Comments