 |
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: 4.1.9680+a1b1e43de1ad9a7e35472c33948d688d7b40ef79
Syntaxpublic static void CalculateNormals(
PositionNormalTextureVertex[] vertexBuffer,
int[] indices
)
Parameters
- vertexBuffer PositionNormalTextureVertex
- array of PositionNormalTexture that represents a vertex buffer
- indices Int32
- triangle indices
See Also