Исправление. Для всех параметров, должна быть возможность получить значение

This commit is contained in:
sasha80
2025-09-20 17:07:47 +03:00
parent 2bfb566578
commit 293ca59936

View File

@@ -23,9 +23,11 @@ func set_strob_color(val: Color): $строб.set_instance_shader_parameter('
func get_strob_center() -> Vector2: return $строб.position
func get_strob_visible() -> bool: return $строб.visible
func get_strob_dir() -> float: return $строб.get_instance_shader_parameter('dir')
func get_strob_width() -> float: return $строб.get_instance_shader_parameter('width')
func get_strob_band() -> float: return $строб.get_instance_shader_parameter('band') * 125.0
func get_strob_radius() -> float: return $строб.get_instance_shader_parameter('radius') * 125.0
func get_strob_color() -> float: return $строб.get_instance_shader_parameter('color')
func get_radius_outter() -> float: return material.get('shader_parameter/radius_outter')
func get_radius_inner_0() -> float: return material.get('shader_parameter/radius_inner_0')