mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 11:15:33 +00:00
15 lines
No EOL
299 B
C#
15 lines
No EOL
299 B
C#
using Godot;
|
|
|
|
namespace Cirno._3D.TrenchBroom.EntityScripts.Lights;
|
|
|
|
[Tool]
|
|
public partial class SpecialSubSpotLight : SpotLight3D
|
|
{
|
|
public override void _Ready()
|
|
{
|
|
var parent = GetParent<OmniLight3D>();
|
|
this.SpotRange = parent.OmniRange;
|
|
this.SpotAttenuation = parent.OmniAttenuation;
|
|
}
|
|
|
|
} |