annotation Icon

Overview

Specifies a custom editor icon path for the node class.

@[Icon("res://icons/player.svg")]
class Player < Godot::CharacterBody3D
end

Defined in:

libgodot/macros.cr