cirnogodot/3D/TrenchBroom/EntityDefinitions/point/lights/light_spot.tres
2025-06-12 11:50:22 +02:00

29 lines
1.3 KiB
Text

[gd_resource type="Resource" script_class="FuncGodotFGDPointClass" load_steps=4 format=3 uid="uid://ctrecvowhcqx0"]
[ext_resource type="Script" uid="uid://c83r7t467hm4m" 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")
apply_rotation_on_map_build = true
apply_scale_on_map_build = true
classname = "light_spot"
description = "SpotLight3D entity."
func_godot_internal = false
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."
}
auto_apply_to_matching_node_properties = false
meta_properties = {}
node_class = "SpotLight3D"
name_property = ""