15 lines
435 B
GDScript
15 lines
435 B
GDScript
@tool
|
|
extends Sprite2D
|
|
|
|
# const band_ants = [Vector4(8, 600, 650, 10), Vector4(8, 650, 700, 30), Vector4(12, 750, 800, 50)]
|
|
var band_ants: PackedInt32Array = PackedInt32Array([8, 8, 12])
|
|
|
|
# Called when the node enters the scene tree for the first time.
|
|
func _ready():
|
|
material.set_shader_parameter('band_ants', band_ants)
|
|
|
|
|
|
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
|
func _process(delta):
|
|
pass
|