PerceptionDepthFrameReader.TryReadLatestFrame 方法

定义

尝试读取此深度帧读取器可用的最新帧。

public:
 virtual PerceptionDepthFrame ^ TryReadLatestFrame() = TryReadLatestFrame;
PerceptionDepthFrame TryReadLatestFrame();
/// [Windows.Foundation.Metadata.Deprecated("PerceptionDepthFrameReader may be unavailable after Windows Creator Update.  Use Windows.Media.Capture.Frames.MediaFrameReader instead.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
PerceptionDepthFrame TryReadLatestFrame();
public PerceptionDepthFrame TryReadLatestFrame();
[Windows.Foundation.Metadata.Deprecated("PerceptionDepthFrameReader may be unavailable after Windows Creator Update.  Use Windows.Media.Capture.Frames.MediaFrameReader instead.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
public PerceptionDepthFrame TryReadLatestFrame();
function tryReadLatestFrame()
Public Function TryReadLatestFrame () As PerceptionDepthFrame

返回

如果尝试成功,此方法将返回可用于此深度帧读取器的最新帧。 如果尝试不成功,此方法将返回 null。

属性

适用于