mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-07-02 01:21:17 +00:00
Custom func_godot entities
This commit is contained in:
parent
8ab7735d17
commit
929d993f99
360 changed files with 4983 additions and 3944 deletions
8
3D/TrenchBroom/EntityScripts/Lights/light_spot.gd
Normal file
8
3D/TrenchBroom/EntityScripts/Lights/light_spot.gd
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
@tool
|
||||
class_name LightSpot
|
||||
extends SpotLight3D
|
||||
|
||||
func _func_godot_apply_properties(props: Dictionary) -> void:
|
||||
LightBase._func_godot_apply_properties(self, props)
|
||||
spot_angle = props["angle"] as float
|
||||
spot_range = (props["range"] as float) * TbManager.INVERSE_SCALE
|
||||
Loading…
Add table
Add a link
Reference in a new issue