Condividi tramite


DepthMediaFrameFormat Classe

Definizione

Descrive il formato di 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
Ereditarietà
Object Platform::Object IInspectable DepthMediaFrameFormat
Attributi

Requisiti Windows

Famiglia di dispositivi
Windows 10 Anniversary Edition (è stato introdotto in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (è stato introdotto in v3.0)

Commenti

Ottenere un'istanza di questa classe accedendo alla proprietà DepthFormat di un oggetto DepthMediaFrame .

Per indicazioni sull'uso di MediaFrameSource per acquisire fotogrammi, vedere Elaborare fotogrammi multimediali con MediaFrameReader.

Proprietà

DepthScaleInMeters

Ottiene la scala dei valori di profondità in depthMediaFrame, in metri.

VideoFormat

Ottiene l'oggetto VideoMediaFrameFormat che descrive il formato non specifico della profondità di un DepthMediaFrame.

Si applica a

Vedi anche