Packageorg.ffilmation.engine.core
Classpublic class fCamera
InheritancefCamera Inheritance fElement Inheritance flash.events.EventDispatcher

The fCamera defines which part of the scene is shown. Use the scene's setCamera method to asign any camera to the scene, and then move the camera

YOU CAN'T CREATE INSTANCES OF THIS ELEMENT DIRECTLY.
Use scene.createCamera() to add new cameras to the scene

See also

org.ffilmation.engine.core.fScene.createCamera()
org.ffilmation.engine.core.fScene.setCamera()


Public Properties
 PropertyDefined by
 Inheritedcontroller : fEngineElementController
Assigns a controller to this element
fElement
 Inheritedid : String
The string identifier of this element.
fElement
  objectOcclusionMode : String = "normal"
Occluded Objects will be assigned this blendMode.
fCamera
  occlusion : Number = 100
This value goes from 0 to 100 and indicates the alpha value to which elements that cover the camera are set.
fCamera
  planeOcclusionMode : String = "overlay"
Occluded Planes will be assigned this blendMode.
fCamera
 Inheritedx : Number
X coordinate fot this element
fElement
 InheritedxmlObj : XML
This is the XML node from the scene XML that generated this element.
fElement
 Inheritedy : Number
Y coordinate for this element
fElement
 Inheritedz : Number
Z coordinate for this element
fElement
Public Methods
 MethodDefined by
 Inherited
distanceTo(x:Number, y:Number, z:Number):Number
Returns the distance of this element to the given coordinate
fElement
 Inherited
follow(target:fElement, elasticity:Number = 0):void
Makes element follow target element
fElement
 Inherited
moveTo(x:Number, y:Number, z:Number):void
Moves the element to a given position
fElement
 Inherited
stopFollowing(target:fElement):void
Stops element from following another element
fElement
Public Constants
 ConstantDefined by
 InheritedMOVE : String = "elementmove"
[static] The fElement.MOVE constant defines the value of the type property of the event object for a elementmove event.
fElement
 InheritedNEWCELL : String = "elementnewcell"
[static] The fElement.NEWCELL constant defines the value of the type property of the event object for a elementnewcell event.
fElement
Property detail
objectOcclusionModeproperty
public var objectOcclusionMode:String = "normal"

Occluded Objects will be assigned this blendMode. Different scenes may require a different mode to achieve a niver effect. BlenMode.NORMAL works well usually.

occlusionproperty 
public var occlusion:Number = 100

This value goes from 0 to 100 and indicates the alpha value to which elements that cover the camera are set. "Cover" means literally, onscreen. This allows you to see what you are doing behind a wall. The default "100" value disables this effect

planeOcclusionModeproperty 
public var planeOcclusionMode:String = "overlay"

Occluded Planes will be assigned this blendMode. Different scenes may require a different mode to achieve a niver effect. BlenMode.OVERLAY works well usually.