Share via


SKVideoNode.FromFile(String) Method

Definition

Create a video node from the named video file.

[Foundation.Export("videoNodeWithFileNamed:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static SpriteKit.SKVideoNode FromFile(string videoFile);
[<Foundation.Export("videoNodeWithFileNamed:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member FromFile : string -> SpriteKit.SKVideoNode

Parameters

videoFile
String

The video file to create the SKVideoNode from.

Returns

Attributes

Applies to