cirnogodot/3D/TrenchBroom/EntityDefinitions/point/lights/light_spot.tres
2025-09-15 11:22:27 +02:00

24 lines
1.1 KiB
Text

[gd_resource type="Resource" script_class="FuncGodotFGDPointClass" load_steps=4 format=3 uid="uid://ctrecvowhcqx0"]
[ext_resource type="Script" uid="uid://cxsqwtsqd8w33" path="res://addons/func_godot/src/fgd/func_godot_fgd_point_class.gd" id="1_2vopw"]
[ext_resource type="Resource" uid="uid://bpiblsew5s5so" path="res://3D/TrenchBroom/EntityDefinitions/base/light_base.tres" id="1_i5rgu"]
[ext_resource type="Script" uid="uid://crjplbs250g75" path="res://3D/TrenchBroom/EntityScripts/Lights/light_spot.gd" id="3_ibopf"]
[resource]
script = ExtResource("1_2vopw")
script_class = ExtResource("3_ibopf")
classname = "light_spot"
description = "SpotLight3D entity."
base_classes = Array[Resource]([ExtResource("1_i5rgu")])
class_properties = {
"angle": 45.0,
"mangle": Vector3(0, 0, 0),
"range": 320.0
}
class_property_descriptions = {
"angle": "The spotlight's angle in degrees.",
"mangle": "Orientation in degrees.",
"range": "The maximal range that can be reached by the spotlight in Quake Units. The entity script converts this to Godot Units in the LightOmni script."
}
meta_properties = {}
node_class = "SpotLight3D"