mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-07-03 12:11:15 +00:00
Custom func_godot entities
This commit is contained in:
parent
8ab7735d17
commit
929d993f99
360 changed files with 4983 additions and 3944 deletions
7
3D/TrenchBroom/EntityScripts/Lights/light_omni.gd
Normal file
7
3D/TrenchBroom/EntityScripts/Lights/light_omni.gd
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
@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
|
||||
Loading…
Add table
Add a link
Reference in a new issue