khanat-assets---3d-godot-cl.../previewer/settings.gd

16 lines
423 B
GDScript3
Raw Normal View History

extends WindowDialog
onready var sky_sprite = get_tree().get_root().get_node("previewer/sky/viewport/sprite")
func _on_sky_coverage_value_changed(value):
sky_sprite.cov_scb( value )
func _on_sky_thickness_value_changed(value):
sky_sprite.thick_scb( value )
func _on_sky_absorption_value_changed(value):
sky_sprite.absb_scb( value )
func _on_sky_steps_value_changed(value):
sky_sprite.step_scb( value )