Camera

package flash.media

extends EventDispatcher

Available on flash

Static variables

staticread onlyisSupported:Bool

staticread onlynames:Array<Dynamic>

Static methods

static_scanHardware():Void

staticgetCamera(?name:String):Camera

Constructor

new()

Variables

read onlyactivityLevel:Float

read onlybandwidth:Int

read onlycurrentFPS:Float

read onlyfps:Float

read onlyheight:Int

read onlyindex:Int

read onlykeyFrameInterval:Int

read onlyloopback:Bool

read onlymotionLevel:Int

read onlymotionTimeout:Int

read onlymuted:Bool

read onlyname:String

read onlyposition:String

read onlyquality:Int

read onlywidth: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

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