文档

Unity Engine

Unity Engine

Create(PlayableGraph, VideoClip, bool)

Creates a VideoClipPlayable in the PlayableGraph.
阅读时间1 分钟最后更新于 2 小时前

Definition

public static VideoClipPlayable Create(PlayableGraph graph, VideoClip clip, bool looping)

Parameters

The PlayableGraph object that will own the VideoClipPlayable.

VideoClip used to produce textures in the PlayableGraph.

looping

Indicates if VideoClip loops when it reaches the end.

Returns

Type

Description

VideoClipPlayableA VideoClipPlayable linked to the PlayableGraph.