Package | com.gestureworks.cml.away3d.elements |
Class | public class Camera |
Inheritance | Camera ![]() |
Implements | com.gestureworks.cml.interfaces.IObject, com.gestureworks.cml.interfaces.ICSS, com.gestureworks.cml.interfaces.IState |
Property | Defined By | ||
---|---|---|---|
childList : ChildList | Camera | ||
className : String | Camera | ||
clipping : String
Sets the near and far clipping planes as comma sepeated list. | Camera | ||
cmlIndex : int | Camera | ||
color : uint
Sets the background render color. | Camera | ||
fov : Number
Sets the field of view when lens is prospective. | Camera | ||
lensX : XML
Sets the camera's lens type (orthographic or prospective). | Camera | ||
projectionHeight : Number
Sets the projections height when lens is orthogrphic. | Camera | ||
state : Dictionary | Camera | ||
stateId : * | Camera | ||
view : View3D
Sets the camera's view. | Camera | ||
viewDim : String
Sets the view dimensions as a comma seperated list. | Camera | ||
viewPos : String
Sets the view position as a comma seperated list. | Camera | ||
vto : TouchContainer3D
Virtual transform object. | Camera |
Method | Defined By | ||
---|---|---|---|
Camera(lens:LensBase = null) | Camera | ||
dispose():void [override]
| Camera | ||
init():void | Camera | ||
loadState(sId:* = null, recursion:Boolean = false):void | Camera | ||
parseCML(cml:XMLList):XMLList | Camera | ||
postparseCML(cml:XMLList):void | Camera | ||
saveState(sId:* = null, recursion:Boolean = false):void | Camera | ||
tweenState(sId:* = null, tweenTime:Number = 1):void | Camera | ||
updateProperties(state:* = 0):void | Camera |
childList | property |
childList:ChildList
public function get childList():ChildList
public function set childList(value:ChildList):void
className | property |
className:String
public function get className():String
public function set className(value:String):void
clipping | property |
clipping:String
Sets the near and far clipping planes as comma sepeated list.
public function get clipping():String
public function set clipping(value:String):void
cmlIndex | property |
cmlIndex:int
public function get cmlIndex():int
public function set cmlIndex(value:int):void
color | property |
color:uint
Sets the background render color.
public function get color():uint
public function set color(value:uint):void
fov | property |
fov:Number
Sets the field of view when lens is prospective.
public function get fov():Number
public function set fov(value:Number):void
lensX | property |
lensX:XML
Sets the camera's lens type (orthographic or prospective).
public function get lensX():XML
public function set lensX(value:XML):void
projectionHeight | property |
projectionHeight:Number
Sets the projections height when lens is orthogrphic.
public function get projectionHeight():Number
public function set projectionHeight(value:Number):void
state | property |
public var state:Dictionary
stateId | property |
stateId:*
public function get stateId():*
public function set stateId(value:any):void
view | property |
view:View3D
Sets the camera's view.
public function get view():View3D
public function set view(value:View3D):void
viewDim | property |
viewDim:String
Sets the view dimensions as a comma seperated list.
public function get viewDim():String
public function set viewDim(value:String):void
viewPos | property |
viewPos:String
Sets the view position as a comma seperated list.
public function get viewPos():String
public function set viewPos(value:String):void
vto | property |
public var vto:TouchContainer3D
Virtual transform object.
Camera | () | Constructor |
public function Camera(lens:LensBase = null)
Parameters
lens:LensBase (default = null )
|
dispose | () | method |
override public function dispose():void
init | () | method |
public function init():void
loadState | () | method |
public function loadState(sId:* = null, recursion:Boolean = false):void
Parameters
sId:* (default = null )
| |
recursion:Boolean (default = false )
|
parseCML | () | method |
public function parseCML(cml:XMLList):XMLList
Parameters
cml:XMLList |
XMLList |
postparseCML | () | method |
public function postparseCML(cml:XMLList):void
Parameters
cml:XMLList |
saveState | () | method |
public function saveState(sId:* = null, recursion:Boolean = false):void
Parameters
sId:* (default = null )
| |
recursion:Boolean (default = false )
|
tweenState | () | method |
public function tweenState(sId:* = null, tweenTime:Number = 1):void
Parameters
sId:* (default = null )
| |
tweenTime:Number (default = 1 )
|
updateProperties | () | method |
public function updateProperties(state:* = 0):void
Parameters
state:* (default = 0 )
|