|
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.UtilitiesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax public static void CalculateNormals(
PositionNormalTextureVertex[] vertexBuffer,
int[] indices
)
Parameters
- vertexBuffer PositionNormalTextureVertex
- array of PositionNormalTexture that represents a vertex buffer
- indices Int32
- triangle indices
See Also