W3cubDocs

/Haxe Flash

Camera

package flash.media

extends EventDispatcher

@:final 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

@:require(flash11_2) read only position:String

read only quality:Int

read only width:Int

Methods

@:require(flash11_4) copyToByteArray (rect:Rectangle, destination:ByteArray):Void

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

@:require(flash11_4) drawToBitmapData (destination:BitmapData):Void

setCursor (value:Bool):Void

setKeyFrameInterval (keyFrameInterval:Int):Void

@:value({ compress : false }) setLoopback (compress:Bool = false):Void

@:value({ favorArea : true }) setMode (width:Int, height:Int, fps:Float, favorArea:Bool = true):Void

@:value({ timeout : 2000 }) setMotionLevel (motionLevel:Int, timeout:Int = 2000):Void

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

Static variables

@:require(flash10_1) static read only isSupported:Bool

static read only names:Array<Dynamic>

Static methods

@:require(flash10_1) static _scanHardware ():Void

static getCamera (?name:String):Camera

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