Packagecom.myflashlab.air.extensions.googleVR
Classpublic class VR
InheritanceVR Inheritance flash.events.EventDispatcher

VR is an Air Native Extension built on top of Google VR. Use this class to initialize and start working with VR. use the init method to initialize this class VR.init();



Public Properties
 PropertyDefined By
  api : VRApi
[static] [read-only] This method gives you access to the currently supported VR APIs by the ANE.
VR
Public Methods
 MethodDefined By
  
dispose():void
[static]
VR
  
[static] This is the first method you need to call in your project so the VR will be initialized in your project.
VR
Public Constants
 ConstantDefined By
  EXTENSION_ID : String = com.myflashlab.air.extensions.googleVR
[static]
VR
  VERSION : String = 3.1.11
[static]
VR
  VERSION_ANDROID_SDK : String = 1.70.0
[static]
VR
  VERSION_IOS_SDK : String = 1.120.0
[static]
VR
Property Detail
apiproperty
api:VRApi  [read-only]

This method gives you access to the currently supported VR APIs by the ANE.


Implementation
    public static function get api():VRApi
Method Detail
dispose()method
public static function dispose():void

init()method 
public static function init():VR

This is the first method you need to call in your project so the VR will be initialized in your project. After calling this method, you will be able to use VR in your project.

Returns
VR
Constant Detail
EXTENSION_IDConstant
public static const EXTENSION_ID:String = com.myflashlab.air.extensions.googleVR

VERSIONConstant 
public static const VERSION:String = 3.1.11

VERSION_ANDROID_SDKConstant 
public static const VERSION_ANDROID_SDK:String = 1.70.0

VERSION_IOS_SDKConstant 
public static const VERSION_IOS_SDK:String = 1.120.0