Dela via


VideoMediaFrame.DepthMediaFrame Property

Definition

Gets a DepthMediaFrame containing depth data for the VideoMediaFrame, if the frame contains depth data.

public:
 property DepthMediaFrame ^ DepthMediaFrame { DepthMediaFrame ^ get(); };
DepthMediaFrame DepthMediaFrame();
public DepthMediaFrame DepthMediaFrame { get; }
var depthMediaFrame = videoMediaFrame.depthMediaFrame;
Public ReadOnly Property DepthMediaFrame As DepthMediaFrame

Property Value

A DepthMediaFrame containing depth data.

Remarks

If the MediaFrameSource that generated the VideoMediaFrame does not produce depth data, this object is null.

Applies to