Share via


DepthMediaFrameFormat クラス

定義

DepthMediaFrame の形式について説明します。

public ref class DepthMediaFrameFormat sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class DepthMediaFrameFormat final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class DepthMediaFrameFormat
Public NotInheritable Class DepthMediaFrameFormat
継承
Object Platform::Object IInspectable DepthMediaFrameFormat
属性

Windows の要件

デバイス ファミリ
Windows 10 Anniversary Edition (10.0.14393.0 で導入)
API contract
Windows.Foundation.UniversalApiContract (v3.0 で導入)

注釈

DepthMediaFrame オブジェクトの DepthFormat プロパティにアクセスして、このクラスのインスタンスを取得します。

MediaFrameSource を使用してフレームをキャプチャする方法については、「MediaFrameReader を使用してメディア フレームを処理する」を参照してください。

プロパティ

DepthScaleInMeters

DepthMediaFrame の深度値のスケールをメートル単位で取得します。

VideoFormat

DepthMediaFrame の深さ固有でない形式を記述する VideoMediaFrameFormat オブジェクトを取得 します

適用対象

こちらもご覧ください