Condividi tramite


MediaClip.CreateFromSurface(IDirect3DSurface, TimeSpan) Metodo

Definizione

Crea un clip video da una superficie 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

Parametri

surface
IDirect3DSurface

Superficie Microsoft Direct3D.

originalDuration
TimeSpan TimeSpan

Durata iniziale del clip video creato.

Restituisce

Nuovo oggetto clip multimediale contenente il clip video.

Si applica a