MediaClip.CreateFromSurface(IDirect3DSurface, TimeSpan) 方法

定义

从 Microsoft Direct3D 图面创建视频剪辑。

public:
 static MediaClip ^ CreateFromSurface(IDirect3DSurface ^ surface, TimeSpan originalDuration);
 static MediaClip CreateFromSurface(IDirect3DSurface const& surface, TimeSpan const& originalDuration);
public static MediaClip CreateFromSurface(IDirect3DSurface surface, System.TimeSpan originalDuration);
function createFromSurface(surface, originalDuration)
Public Shared Function CreateFromSurface (surface As IDirect3DSurface, originalDuration As TimeSpan) As MediaClip

参数

surface
IDirect3DSurface

Microsoft Direct3D 图面。

originalDuration
TimeSpan TimeSpan

创建的视频剪辑的初始持续时间。

返回

包含视频剪辑的新媒体剪辑对象。

适用于