Click or drag to resize

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
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public void GenerateNormals(
	bool flip = false
)

Parameters

flip (Optional)
Type: SystemBoolean

[Missing <param name="flip"/> documentation for "M:Godot.SurfaceTool.GenerateNormals(System.Boolean)"]

See Also