Click or drag to resize

EditorSpatialGizmo.AddLines Method

Adds lines to the gizmo (as sets of 2 points), with a given material. The lines are used for visualizing the gizmo. Call this function during Redraw().

Namespace:  Godot
Assembly:  GodotSharpEditor (in GodotSharpEditor.dll) Version: 1.0.0
Syntax
C#
public void AddLines(
	Vector3[] lines,
	Material material,
	bool billboard = false,
	Color? modulate = null
)

Parameters

lines
Type:Godot.Vector3[]

[Missing <param name="lines"/> documentation for "M:Godot.EditorSpatialGizmo.AddLines(Godot.Vector3[],Godot.Material,System.Boolean,System.Nullable{Godot.Color})"]

material
Type: Godot.Material

[Missing <param name="material"/> documentation for "M:Godot.EditorSpatialGizmo.AddLines(Godot.Vector3[],Godot.Material,System.Boolean,System.Nullable{Godot.Color})"]

billboard (Optional)
Type: System.Boolean

[Missing <param name="billboard"/> documentation for "M:Godot.EditorSpatialGizmo.AddLines(Godot.Vector3[],Godot.Material,System.Boolean,System.Nullable{Godot.Color})"]

modulate (Optional)
Type: System.Nullable<Color>
If the parameter is null, then the default value is new Color(1, 1, 1, 1)
See Also