Share via


SKVideoNode.FromPlayer(AVPlayer) Method

Definition

[Foundation.Export("videoNodeWithAVPlayer:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static SpriteKit.SKVideoNode FromPlayer(AVFoundation.AVPlayer player);
[<Foundation.Export("videoNodeWithAVPlayer:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member FromPlayer : AVFoundation.AVPlayer -> SpriteKit.SKVideoNode

Parameters

player
AVPlayer

Returns

Attributes

Applies to