VManager

public final class VManager

Manager that manage spherical video view.

  • The node that represents spherical media.

    Declaration

    Swift

    internal(set) public var node: VNode?
  • Undocumented

    Declaration

    Swift

    public var mode: VView.Mode { get set }
  • Undocumented

    Declaration

    Swift

    public var gesture: VView.Gesture { get set }
  • Start the scene and video with given spherical node in specified view effect mode.

    Declaration

    Swift

    public func start(name: String, extension: String, subdirectory: String? = nil, size: CGSize, repeat: Bool) throws

    Parameters

    node

    The spherical node displayed.

    mode

    The view effect mode.

    repeat

    Do the video must repeat infinitly.

  • Undocumented

    Declaration

    Swift

    public func start(videoUrl url: URL, size: CGSize, repeat: Bool) throws
  • Undocumented

    Declaration

    Swift

    public func start(videoNode node: VNode, repeat: Bool)
  • Stop the scene and spherical node video.

    Declaration

    Swift

    public func stop()