StereoMode

@available(*, deprecated, message: "This enumeration will be removed with the next major release.")
@objc(THEOplayerStereoMode)
public enum StereoMode : Int
extension StereoMode: Codable

The different stereo modes for the VR configuration.

  • No stereo mode.

    Declaration

    Swift

    @objc(THEOplayerStereoModeNONE)
    case none = 0
  • The two viewpoints are in a side-by-side layout. The view for the left eye is in the left half of the video frame, the view for the right eye is in the right half of the video frame.

    Declaration

    Swift

    @objc(THEOplayerStereoModeHORIZONTAL)
    case horizontal = 1
  • The two viewpoints are in a top-bottom layout. The view for the left eye is in the upper half of the video frame, the view for the right eye is in the lower half of the video frame.

    Declaration

    Swift

    @objc(THEOplayerStereoModeVERTICAL)
    case vertical = 2
  • The raw value of type String.

    Declaration

    Swift

    public var _rawValue: String { get set }