Files
RobustToolbox/SS14.Client/Interfaces/Graphics/Lighting/IOccluder.cs
Pieter-Jan Briers dbc88e253b Allow client to run headlessly. (#727)
AKA Without Godot.

Still links against GodotSharp, but this does mean that you can run headless or not from the same binary.
2019-01-19 18:23:41 +01:00

28 lines
643 B
C#

using System;
using SS14.Client.Interfaces.GameObjects.Components;
using SS14.Shared.Interfaces.GameObjects.Components;
using SS14.Shared.Maths;
namespace SS14.Client.Interfaces.Graphics.Lighting
{
public interface IOccluder : IDisposable
{
bool Enabled { get; set; }
OccluderCullMode CullMode { get; set; }
void SetPolygon(Vector2[] polygon);
void ParentTo(ITransformComponent node);
void DeParent();
}
public enum OccluderCullMode
{
// These match Godot's OccluderPolygon2D.CullMode
Disabled = 0,
Clockwise = 1,
CounterClockwise = 2
}
}