Package | com.myflashlab.air.extensions.ar |
Class | public class ConfigIos |
Inheritance | ConfigIos Object |
_arSettings.ios...
where
_arSettings is an instance of Config
class as follow:
var _arSettings:Config = new Config();
Property | Defined By | ||
---|---|---|---|
camFocusDistance : Number
The capture device focus distance that should be used when the SDK starts. | ConfigIos | ||
camFocusRange : int
Indicates the capture device focus range restriction that should be used when the SDK starts. | ConfigIos | ||
excludeBinnedVideo : Boolean
Per default the Wikitude SDK would not consider capture device formats that are binned. | ConfigIos | ||
framerate : int
The target frame rate at which the SDK should run. | ConfigIos |
camFocusDistance | property |
camFocusDistance:Number
The capture device focus distance that should be used when the SDK starts. In case the focus distance is not supported by the current device, then a default focus distance is used.
Setting the focus distance is only supported since iOS 10. All devices with a lower iOS version will use the default focus distance.
Default value is -1.0
public function get camFocusDistance():Number
public function set camFocusDistance(value:Number):void
camFocusRange | property |
camFocusRange:int
Indicates the capture device focus range restriction that should be used when the SDK starts. If the given
focus range restriction is not supported by the current device, then this property is ignored. The
default value is FocusRange.NONE
Please refer to the official AVCaptureAutoFocusRangeRestriction documentation for more information.
public function get camFocusRange():int
public function set camFocusRange(value:int):void
excludeBinnedVideo | property |
excludeBinnedVideo:Boolean
Per default the Wikitude SDK would not consider capture device formats that are binned. Binned videos have a pixel dimension of the given format, but the actual content might have a lower resolution. The content is then upscaled to fill the actual format dimension. This upscaling leads then to rendering artifacts in the camera image. If this limitation should be disabled, this property can be set to false. The default value is true.
public function get excludeBinnedVideo():Boolean
public function set excludeBinnedVideo(value:Boolean):void
framerate | property |
framerate:int
The target frame rate at which the SDK should run. If the given frame rate can not be applied for the current device, the default value, 30, will be used.
public function get framerate():int
public function set framerate(value:int):void