| Package | org.ffilmation.engine.core |
| Class | public class fCamera |
| Inheritance | fCamera fElement 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
| Property | Defined by | ||
|---|---|---|---|
![]() | controller : fEngineElementController
Assigns a controller to this element
| fElement | |
![]() | id : 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 | ||
![]() | x : Number
X coordinate fot this element
| fElement | |
![]() | xmlObj : XML
This is the XML node from the scene XML that generated this element.
| fElement | |
![]() | y : Number
Y coordinate for this element
| fElement | |
![]() | z : Number
Z coordinate for this element
| fElement | |
| objectOcclusionMode | property |
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.
| occlusion | property |
public var occlusion:Number = 100This 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
| planeOcclusionMode | property |
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.