W3cubDocs

/Haxe Flash

Camera

package flash.media

extends EventDispatcher

Available on flash

Constructor

new ()

Variables

read only activityLevel:Float

read only bandwidth:Int

read only currentFPS:Float

read only fps:Float

read only height:Int

read only index:Int

read only keyFrameInterval:Int

read only loopback:Bool

read only motionLevel:Int

read only motionTimeout:Int

read only muted:Bool

read only name:String

read only position:String

read only quality:Int

read only width:Int

Methods

copyToByteArray (rect:Rectangle, destination:ByteArray):Void

copyToVector (rect:Rectangle, destination:Vector<UInt>):Void

drawToBitmapData (destination:BitmapData):Void

setCursor (value:Bool):Void

setKeyFrameInterval (keyFrameInterval:Int):Void

setLoopback (compress:Bool = false):Void

setMode (width:Int, height:Int, fps:Float, favorArea:Bool = true):Void

setMotionLevel (motionLevel:Int, timeout:Int = 2000):Void

setQuality (bandwidth:Int, quality:Int):Void

Static variables

static read only isSupported:Bool

static read only names:Array<Dynamic>

Static methods

static _scanHardware ():Void

static getCamera (?name:String):Camera

© 2005–2016 Haxe Foundation
Licensed under a MIT license.
http://api.haxe.org/flash/media/Camera.html