NormalizeMesh()

Syntax

NormalizeMesh(#Mesh [, SubMesh])
Description
Normalize the mesh or the submesh. It will automatically computes the normal vector for every vertices of the specified mesh or submesh. Dynamic meshes are not supported (meshes created with the #PB_Mesh_Dynamic flag).

Parameters

Mesh The mesh to use.
SubMesh (optional) If specified, it will only normalize the submesh. The first submesh index is 0 (main mesh).

Return value

None.

See Also

CreateMesh(), MeshVertexNormal()

Supported OS

All

<- MeshVertexTextureCoordinate() - Mesh Index - SaveMesh() ->