VRPlayerEngine

@objc
public protocol VRPlayerEngine : PlayerEngine

Undocumented

  • VRPlayerEngine initializer

    Declaration

    Swift

    init()
  • Current View State

    Declaration

    Swift

    var currentViewState: ViewState { get }
  • Enable VR Mode - Stereo display for Google’s Cardboard.

    Declaration

    Swift

    func setVRModeEnabled(_ isEnabled: Bool)

    Parameters

    isEnabled

    Toggle to enable vr mode.

  • Requests reset of rotation in the next rendering frame.

    Declaration

    Swift

    func centerViewPoint()
  • Creates the orientation indicator view.

    Declaration

    Swift

    func createOrientationIndicatorView(frame: CGRect) -> UIView?

    Parameters

    frame

    The frame of orientation indicator view.