mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-09-01 17:47:24 +02:00
* Engine changes for more server-pushed lighting variables, but apparently this is a deprecated way of doing things anyway * Removed two unecessary uses of virtual
31 lines
794 B
C#
31 lines
794 B
C#
using System;
|
|
using Robust.Shared.Maths;
|
|
using Robust.Shared.Serialization;
|
|
|
|
namespace Robust.Shared.GameObjects
|
|
{
|
|
[Serializable, NetSerializable]
|
|
public sealed class PointLightComponentState : ComponentState
|
|
{
|
|
public readonly Color Color;
|
|
|
|
public readonly float Energy;
|
|
|
|
public readonly float Softness;
|
|
public readonly bool Enabled;
|
|
|
|
public readonly float Radius;
|
|
public readonly Vector2 Offset;
|
|
|
|
public PointLightComponentState(bool enabled, Color color, float radius, Vector2 offset, float energy, float softness)
|
|
{
|
|
Enabled = enabled;
|
|
Color = color;
|
|
Radius = radius;
|
|
Offset = offset;
|
|
Energy = energy;
|
|
Softness = softness;
|
|
}
|
|
}
|
|
}
|