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
isEnabledToggle 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
frameThe frame of orientation indicator view.
VRPlayerEngine Protocol Reference