mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-09-01 09:37:03 +02:00
Co-authored-by: ElectroJr <leonsfriedrich@gmail.com> Co-authored-by: Leon Friedrich <60421075+ElectroJr@users.noreply.github.com> Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
19 lines
615 B
C#
19 lines
615 B
C#
using Robust.Client.Graphics;
|
|
using Robust.Shared.GameObjects;
|
|
using Robust.Shared.ViewVariables;
|
|
|
|
namespace Robust.Client.GameObjects;
|
|
|
|
[RegisterComponent]
|
|
public sealed partial class PointLightComponent : SharedPointLightComponent
|
|
{
|
|
/// <summary>
|
|
/// Set a mask texture that will be applied to the light while rendering.
|
|
/// The mask's red channel will be linearly multiplied.
|
|
/// </summary>
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
|
internal Texture? Mask;
|
|
// TODO POINT LIGHT
|
|
// Just make this an object? on the shared comp. The server-client component split is such a pain.
|
|
}
|