Click or drag to resize

EditorSpatialGizmoAddLines 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: GodotVector3

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

material
Type: GodotMaterial

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

billboard (Optional)
Type: SystemBoolean

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

modulate (Optional)
Type: SystemNullableColor
If the parameter is null, then the default value is new Color(1, 1, 1, 1)
See Also