共用方式為


PerceptionFrame.FrameData 屬性

定義

畫面的實際位元組,可由產生框架之 IPerceptionFrameProvider 的 Properties 所述取用。

public:
 property IMemoryBuffer ^ FrameData { IMemoryBuffer ^ get(); };
IMemoryBuffer FrameData();
/// [get: Windows.Foundation.Metadata.Deprecated("PerceptionFrame may be unavailable after Windows Creator Update. Please refer to AVStream on MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
IMemoryBuffer FrameData();
public IMemoryBuffer FrameData { get; }
public IMemoryBuffer FrameData { [Windows.Foundation.Metadata.Deprecated("PerceptionFrame may be unavailable after Windows Creator Update. Please refer to AVStream on MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")] get; }
var iMemoryBuffer = perceptionFrame.frameData;
Public ReadOnly Property FrameData As IMemoryBuffer

屬性值

框架的位元組。

屬性

備註

若要寫入這些位元組,可以使用 Windows::Foundation::IMemoryBuffer::CreateReference () 來建立 Windows::Foundation::IMemoryBufferReference。 接著,就可以轉換成 Windows::Foundation::IMemoryBufferByteAccess,並在該上呼叫 GetBuffer () 以取得原始位元組緩衝區。

適用於