Share via


SpatialSurfaceMeshOptions.VertexNormalFormat Property

Definition

Gets or sets the element format for generated normal buffers.

public:
 property DirectXPixelFormat VertexNormalFormat { DirectXPixelFormat get(); void set(DirectXPixelFormat value); };
DirectXPixelFormat VertexNormalFormat();

void VertexNormalFormat(DirectXPixelFormat value);
public DirectXPixelFormat VertexNormalFormat { get; set; }
var directXPixelFormat = spatialSurfaceMeshOptions.vertexNormalFormat;
spatialSurfaceMeshOptions.vertexNormalFormat = directXPixelFormat;
Public Property VertexNormalFormat As DirectXPixelFormat

Property Value

The vertex normal format.

Remarks

Note that normal buffers will only be generated if you set IncludeVertexNormals to true.

Applies to