VideoFrame.CopyToAsync 메서드

정의

오버로드

CopyToAsync(VideoFrame)

현재 VideoFrame 을 제공된 VideoFrame 개체에 복사합니다.

CopyToAsync(VideoFrame, IReference<BitmapBounds>, IReference<BitmapBounds>)

현재 VideoFrame 의 지정된 사각형을 제공된 VideoFrame 개체의 지정된 사각형에 복사합니다.

CopyToAsync(VideoFrame)

현재 VideoFrame 을 제공된 VideoFrame 개체에 복사합니다.

public:
 virtual IAsyncAction ^ CopyToAsync(VideoFrame ^ frame) = CopyToAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncAction CopyToAsync(VideoFrame const& frame);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncAction CopyToAsync(VideoFrame frame);
function copyToAsync(frame)
Public Function CopyToAsync (frame As VideoFrame) As IAsyncAction

매개 변수

frame
VideoFrame

현재 프레임을 복사할 대상 비디오 프레임입니다.

반환

비동기 작업입니다.

특성

설명

대상 프레임은 원본 프레임과 동일한 픽셀 형식, 너비, 높이 및 알파 모드를 가져야 합니다.

적용 대상

CopyToAsync(VideoFrame, IReference<BitmapBounds>, IReference<BitmapBounds>)

현재 VideoFrame 의 지정된 사각형을 제공된 VideoFrame 개체의 지정된 사각형에 복사합니다.

public:
 virtual IAsyncAction ^ CopyToAsync(VideoFrame ^ frame, IReference<BitmapBounds> ^ sourceBounds, IReference<BitmapBounds> ^ destinationBounds) = CopyToAsync;
/// [Windows.Foundation.Metadata.Overload("CopyToWithBoundsAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncAction CopyToAsync(VideoFrame const& frame, IReference<BitmapBounds> const& sourceBounds, IReference<BitmapBounds> const& destinationBounds);
[Windows.Foundation.Metadata.Overload("CopyToWithBoundsAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncAction CopyToAsync(VideoFrame frame, System.Nullable<BitmapBounds> sourceBounds, System.Nullable<BitmapBounds> destinationBounds);
function copyToAsync(frame, sourceBounds, destinationBounds)
Public Function CopyToAsync (frame As VideoFrame, sourceBounds As Nullable(Of BitmapBounds), destinationBounds As Nullable(Of BitmapBounds)) As IAsyncAction

매개 변수

frame
VideoFrame

현재 프레임을 복사할 대상 비디오 프레임입니다.

sourceBounds

IReference<BitmapBounds>

Nullable<BitmapBounds>

복사해야 하는 원본 프레임 내의 사각형을 지정하는 BitmapBounds 참조입니다.

destinationBounds

IReference<BitmapBounds>

Nullable<BitmapBounds>

원본 콘텐츠가 복사되는 대상 프레임 내의 사각형을 지정하는 BitmapBounds 참조입니다.

반환

비동기 작업입니다.

특성

Windows 요구 사항

디바이스 패밀리
Windows 10, version 1803 (10.0.17134.0에서 도입되었습니다.)
API contract
Windows.Foundation.UniversalApiContract (v6.0에서 도입되었습니다.)

적용 대상