cirnogodot/3D/TrenchBroom/EntityScripts/Lights/light_omni.gd
2025-06-12 11:50:22 +02:00

7 lines
229 B
GDScript

@tool
class_name LightOmni
extends OmniLight3D
func _func_godot_apply_properties(props: Dictionary) -> void:
LightBase._func_godot_apply_properties(self, props)
omni_range = (props["range"] as float) * TbManager.INVERSE_SCALE