DepthMediaFrameFormat
DepthMediaFrameFormat
DepthMediaFrameFormat
DepthMediaFrameFormat
Class
Definition
Describes the format of a DepthMediaFrame.
public : sealed class DepthMediaFrameFormat : IDepthMediaFrameFormatpublic sealed class DepthMediaFrameFormat : IDepthMediaFrameFormatPublic NotInheritable Class DepthMediaFrameFormat Implements IDepthMediaFrameFormat// You can use this class in JavaScript.
- Attributes
Windows 10 requirements
| Device family |
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v3)
|
Remarks
Get an instance of this class by accessing the DepthFormat property of a DepthMediaFrame object.
For how-to guidance on using MediaFrameSource to capture frames, see Process media frames with MediaFrameReader.
Properties
DepthScaleInMeters DepthScaleInMeters DepthScaleInMeters DepthScaleInMeters
Gets the scale of the depth values in a DepthMediaFrame, in meters.
public : double DepthScaleInMeters { get; }public double DepthScaleInMeters { get; }Public ReadOnly Property DepthScaleInMeters As double// You can use this property in JavaScript.
- Value
- double double double double
The scale of the depth values in a DepthMediaFrame, in meters.
VideoFormat VideoFormat VideoFormat VideoFormat
Gets the VideoMediaFrameFormat object that describes the non-depth-specific format of a DepthMediaFrame.
public : VideoMediaFrameFormat VideoFormat { get; }public VideoMediaFrameFormat VideoFormat { get; }Public ReadOnly Property VideoFormat As VideoMediaFrameFormat// You can use this property in JavaScript.
The VideoMediaFrameFormat object that describes the non-depth-specific format of a DepthMediaFrame.