VR API
-
The player’s VR attributes can be used to change the stereo mode, the viewing direction and the vertical field of view.
Remark
The VR attributes are properties of the vr object, which is accessible through the player object.Declaration
Swift
public protocol VR : EventDispatcherProtocol
-
A VRConfiguration object contains the settings for 360 VR video playback.
See moreDeclaration
Swift
@objc(THEOplayerVRConfiguration) public class VRConfiguration : NSObject, Codable
-
The direction the user is facing.
See moreDeclaration
Swift
@objc(THEOplayerVRDirection) public class VRDirection : NSObject
-
The different stereo modes for the VR configuration.
See moreDeclaration
Swift
@objc(THEOplayerStereoMode) public enum StereoMode : Int
extension StereoMode: Codable
-
Declaration
Swift
@objc(THEOplayerVREvent) public class VREvent : NSObject, EventProtocol