VideoTrackScreenObject
public final class VideoTrackScreenObject : ScreenObject
An object that manages offscreen rendering a video track source.
-
Specifies the track number how the displays the visual content.
Declaration
Swift
public var track: UInt8 { get set }
-
A value that specifies how the video is displayed within a player layer’s bounds.
Declaration
Swift
public var videoGravity: AVLayerVideoGravity { get set }
-
Create a screen object.
Declaration
Swift
override public init()
-
Registers a video effect.
Declaration
Swift
public func registerVideoEffect(_ effect: VideoEffect) -> Bool
-
Unregisters a video effect.
Declaration
Swift
public func unregisterVideoEffect(_ effect: VideoEffect) -> Bool
-
Declaration
Swift
override public func makeImage(_ renderer: some ScreenRenderer) -> CGImage?
-
Declaration
Swift
override public func makeBounds(_ size: CGSize) -> CGRect