SurfaceToolGenerateNormals Method |
Generates normals from vertices so you do not have to do it manually. If flip is true, the resulting normals will be inverted. GenerateNormals(Boolean) should be called after generating geometry and before committing the mesh using Commit(ArrayMesh, UInt32) or CommitToArrays.
Note: GenerateNormals(Boolean) only works if the primitive type to be set to .
Namespace: Godot
public void GenerateNormals( bool flip = false )
[Missing <param name="flip"/> documentation for "M:Godot.SurfaceTool.GenerateNormals(System.Boolean)"]