mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-15 03:30:53 +01:00
AKA Without Godot. Still links against GodotSharp, but this does mean that you can run headless or not from the same binary.
28 lines
643 B
C#
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
|
|
}
|
|
}
|