Click or drag to resize
Ab4d.SharpEngine logo

MeshUtilsCalculateNormals(PositionNormalTextureVertex, Int32) Method

CalculateNormals method calculates normals for the specified vertexBuffer (PositionNormalTexture array) and triangle indices array. Normal values are written to the vertexBuffer. Normals are always normalized.

Namespace: Ab4d.SharpEngine.Utilities
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
Syntax
C#
public static void CalculateNormals(
	PositionNormalTextureVertex[] vertexBuffer,
	int[] indices
)

Parameters

vertexBuffer  PositionNormalTextureVertex
array of PositionNormalTexture that represents a vertex buffer
indices  Int32
triangle indices
Remarks

[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Utilities.MeshUtils.CalculateNormals(Ab4d.SharpEngine.Common.PositionNormalTextureVertex[],System.Int32[])"]

See Also