mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 18:31:17 +03:00
* first commit. helpful commit messages yay! * incredibly minor cleanup * hoping this appeases the trailing whitespace check * helps if you actually commit the files you change * bring shader in line w/ what pjb's doing in that other pr * comments about why this is bad * this seems to magically work now somehow? --------- Co-authored-by: Ruddygreat <ruddygreat1@gmail.com>
19 lines
540 B
C#
19 lines
540 B
C#
using Robust.Shared.Serialization;
|
|
|
|
namespace Content.Shared.DisplacementMap;
|
|
|
|
[DataDefinition, Serializable, NetSerializable]
|
|
public sealed partial class DisplacementData
|
|
{
|
|
/// <summary>
|
|
/// allows you to attach different maps for layers of different sizes.
|
|
/// </summary>
|
|
[DataField(required: true)]
|
|
public Dictionary<int, PrototypeLayerData> SizeMaps = new();
|
|
|
|
[DataField]
|
|
public string? ShaderOverride = "DisplacedDraw";
|
|
|
|
[DataField]
|
|
public string ShaderOverrideUnshaded = "DisplacedDrawUnshaded";
|
|
}
|