Version: 2022.3
Experimental: this API is experimental and might be changed or removed in the future.

VideoClipPlayable.Create

切换到手册
public static Experimental.Video.VideoClipPlayable Create (Playables.PlayableGraph graph, Video.VideoClip clip, bool looping);

参数

graph 将拥有 VideoClipPlayablePlayableGraph 对象。
looping 指示 VideoClip 是否在结束后循环播放。
clip 用于在 PlayableGraph 中生成纹理的 VideoClip

返回

VideoClipPlayable 链接到 PlayableGraphVideoClipPlayable

描述

PlayableGraph 中创建 VideoClipPlayable