Click or drag to resize

MeshCreateOutline Method

Calculate an outline mesh at a defined offset (margin) from the original mesh.

Note: This method typically returns the vertices in reverse order (e.g. clockwise to counterclockwise).

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public Mesh CreateOutline(
	float margin
)

Parameters

margin
Type: SystemSingle

[Missing <param name="margin"/> documentation for "M:Godot.Mesh.CreateOutline(System.Single)"]

Return Value

Type: Mesh

[Missing <returns> documentation for "M:Godot.Mesh.CreateOutline(System.Single)"]

See Also