Package | com.myflashlab.air.extensions.ar |
Class | public class Config |
Inheritance | Config Object |
_arSettings.ios...
or _arSettings.android...
where _arSettings is an instance of the
Config class: var _arSettings:Config = new Config();
Property | Defined By | ||
---|---|---|---|
android : ConfigAndroid [read-only]
Gives you access to the Android specific settings. | Config | ||
btnExitStr : String [read-only]
This property is not recommended on production builds. | Config | ||
camFocusMode : int
Indicates which camera focus mode should be used by the Wikitude SDK for the camera startup. | Config | ||
camPosition : int
Indicates which camera position should be used by the Wikitude SDK for the camera startup. | Config | ||
camResolution : int
Indicates which resolution the camera should use. | Config | ||
hasGeo : Boolean
Indicates if you are going to use geo in your AR experience. | Config | ||
hasInstant : Boolean
Indicates if you are going to use SLAM in your AR experience. | Config | ||
hasIR : Boolean
Indicates if you are going to use image recognition in your AR experience. | Config | ||
hasObject : Boolean
Indicates if you are going to use 3D objects in your AR experience. | Config | ||
ios : ConfigIos [read-only]
Gives you access to the iOS specific settings. | Config | ||
liceseKey : String
Indicates your Wikitude SDK licence key. | Config |
Method | Defined By | ||
---|---|---|---|
Config()
initialize this class and set the AR settings before launching the AR experience. | Config |
android | property |
android:ConfigAndroid
[read-only] Gives you access to the Android specific settings.
public function get android():ConfigAndroid
btnExitStr | property |
btnExitStr:String
[read-only] This property is not recommended on production builds. You must create your own exit buttons on js/html. You may look at the demo here: https://github.com/myflashlab/AR-ANE-Samples/tree/master/AIR/assets/01_ImageTracking_1_ImageOnTarget to learn how you can create an exit button in html/js.
public function get btnExitStr():String
camFocusMode | property |
camFocusMode:int
Indicates which camera focus mode should be used by the Wikitude SDK for the camera startup.
public function get camFocusMode():int
public function set camFocusMode(value:int):void
camPosition | property |
camPosition:int
Indicates which camera position should be used by the Wikitude SDK for the camera startup.
public function get camPosition():int
public function set camPosition(value:int):void
camResolution | property |
camResolution:int
Indicates which resolution the camera should use. The wikitude sdk will choose a resolution closest to the given size. It is not guaranteed that the chosen size is used since some devices may not support it.
public function get camResolution():int
public function set camResolution(value:int):void
hasGeo | property |
hasGeo:Boolean
Indicates if you are going to use geo in your AR experience.
public function get hasGeo():Boolean
public function set hasGeo(value:Boolean):void
hasInstant | property |
hasInstant:Boolean
Indicates if you are going to use SLAM in your AR experience.
public function get hasInstant():Boolean
public function set hasInstant(value:Boolean):void
hasIR | property |
hasIR:Boolean
Indicates if you are going to use image recognition in your AR experience.
public function get hasIR():Boolean
public function set hasIR(value:Boolean):void
hasObject | property |
hasObject:Boolean
Indicates if you are going to use 3D objects in your AR experience.
public function get hasObject():Boolean
public function set hasObject(value:Boolean):void
ios | property |
ios:ConfigIos
[read-only] Gives you access to the iOS specific settings.
public function get ios():ConfigIos
liceseKey | property |
liceseKey:String
Indicates your Wikitude SDK licence key.
public function get liceseKey():String
public function set liceseKey(value:String):void
Config | () | Constructor |
public function Config()
initialize this class and set the AR settings before launching the AR experience. Once you set the
configurations, you should pass it to AR.config(_arSettings);
.