SpatialSurfaceMeshOptions.VertexNormalFormat Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.