SpatialSurfaceMeshOptions Class

Definition

Provides options to customize the SpatialSurfaceMesh objects you get back from SpatialSurfaceInfo.TryComputeLatestMeshAsync.

public ref class SpatialSurfaceMeshOptions sealed
/// [Windows.Foundation.Metadata.Activatable(131072, "Windows.Foundation.UniversalApiContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 131072)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class SpatialSurfaceMeshOptions final
[Windows.Foundation.Metadata.Activatable(131072, "Windows.Foundation.UniversalApiContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 131072)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class SpatialSurfaceMeshOptions
function SpatialSurfaceMeshOptions()
Public NotInheritable Class SpatialSurfaceMeshOptions
Inheritance
Object IInspectable SpatialSurfaceMeshOptions
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10586.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced in v2.0)

Constructors

SpatialSurfaceMeshOptions()

Initializes a new instance of the SpatialSurfaceMeshOptions class.

Properties

IncludeVertexNormals

Gets or sets whether to compute a normal buffer.

SupportedTriangleIndexFormats

Gets a list of the triangle index formats that the system can generate an index buffer in.

SupportedVertexNormalFormats

Gets a list of the vertex normal formats that the system can generate a normal buffer in.

SupportedVertexPositionFormats

Gets a list of the vertex position formats that the system can generate a vertex buffer in.

TriangleIndexFormat

Gets or sets the element format for generated index buffers.

VertexNormalFormat

Gets or sets the element format for generated normal buffers.

VertexPositionFormat

Gets or sets the element format for generated vertex buffers.

Applies to

See also