Packagecom.myflashlab.air.extensions.googleVR
Classpublic class VRConfigImg
InheritanceVRConfigImg Inheritance VRConfig Inheritance Object

Data class representing the desired configuration you might need before launching the VR image view. to run the VR image view, you need to initialize this class and set the required configuration and then pass in the instance of this class to the VR.api.imageView.attach method.



Public Properties
 PropertyDefined By
 InheritedbtnExit : File
Indicates the location of the exit button which is drawn over the VR window
VRConfig
 InheritedfullscreenButtonEnabled : Boolean
Shows or hides the button to transition to fullscreen mode.
VRConfig
  image360 : File
Indicates the location of the 360 image you wish to use in your VR experience.
VRConfigImg
  imageType : int
Indicates the image type you are using for the VR experience.
VRConfigImg
 InheritedinfoButtonEnabled : Boolean
VRConfig
 InheritedstereoModeButtonEnabled : Boolean
Indicates if the VR mode button should be enabled or not
VRConfig
 InheritedtouchTrackingEnabled : Boolean
Enables or disables tracking of the view via touch gestures.
VRConfig
Protected Properties
 PropertyDefined By
 Inherited_btnExit : File
VRConfig
 Inherited_btnExitAddress : String
VRConfig
 Inherited_fullscreenButtonEnabled : Boolean = true
VRConfig
 Inherited_infoButtonEnabled : Boolean = true
VRConfig
 Inherited_stereoModeButtonEnabled : Boolean = true
VRConfig
 Inherited_touchTrackingEnabled : Boolean = true
VRConfig
Public Methods
 MethodDefined By
  
VRConfigImg
Public Constants
 ConstantDefined By
 InheritedTYPE_MONO : int = 1
[static]
VRConfig
 InheritedTYPE_STEREO_OVER_UNDER : int = 2
[static]
VRConfig
Property Detail
image360property
image360:File

Indicates the location of the 360 image you wish to use in your VR experience.


Implementation
    public function get image360():File
    public function set image360(value:File):void
imageTypeproperty 
imageType:int

Indicates the image type you are using for the VR experience. which is either VRImageConfig.TYPE_MONO or VRImageConfig.TYPE_STEREO_OVER_UNDER


Implementation
    public function get imageType():int
    public function set imageType(value:int):void
Constructor Detail
VRConfigImg()Constructor
public function VRConfigImg()