Edit

Share via


SKVideoNode.FromPlayer(AVPlayer) Method

Definition

Creates a video node from the specified player.

[Foundation.Export("videoNodeWithAVPlayer:")]
public static SpriteKit.SKVideoNode FromPlayer (AVFoundation.AVPlayer player);
static member FromPlayer : AVFoundation.AVPlayer -> SpriteKit.SKVideoNode

Parameters

player
AVPlayer

Returns

Attributes

Applies to