VideoMediaFrame.DepthMediaFrame Property


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

 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.


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

Applies to