Adding Outlines

You can read here which outlines are supported in this project.

How to add Outlines

There are two different ways of adding outlines to a Node.

Via UI

To add outlines, choose a node and in our "Easy Outline" panel select the type you want. You are now able to set different outlines styles and change their settings directly through the interface.

Via Code

If you need to add, remove or update an outline runtime, the API is also available (check Scripting API).

Example code

extends Node

@export var tree : Node3D

func _ready() -> void:
	OutlineUtils3D.add_outline(tree, OutlineUtils3D.OUTLINE_TYPE.OUTLINE_SILHOUETTE)
	OutlineUtils3D.set_outline_color(tree, Color.RED)


var time : float = 0.0
func _process(delta: float) -> void:
	time += delta * 2.0
	OutlineUtils3D.set_outline_thickness(tree, sin(time) / 2.0 + 0.5)
Code's output

Outlines

You can find here all currently supported outlines.

We're currently working on adding other types of outline like 2D and Full Screen, so make sure to join our Discord and blog to learn more!

You can visit our Roadmap [TODO] to learn what we're working on, or make a proposal if you'd like new types of outlines.

Last updated