PKVRController
@objc
public class PKVRController : NSObject, PKController
Undocumented
-
Represents current PKVRController view state
ViewState Options
- panorama
- stereo
- error
- unknown
Declaration
Swift
@objc public var currentViewState: ViewState { get }
-
Declaration
Swift
@objc required public init(player: PlayerEngine?)
-
Declaration
Swift
@objc public func setVRModeEnabled(_ isVREnabled: Bool)
-
Requests reset of rotation in the next rendering frame.
Declaration
Swift
@objc public func centerViewPoint()
-
Creates eye view indicator.
Declaration
Swift
@objc public func createOrientationIndicatorView(frame: CGRect) -> UIView?
Parameters
frame
eye view frame
Return Value
eye view indicator