namespace Lib.render.basic; [Guid("84e9333f-38d2-422f-abf5-bf3929f01c7e")] internal sealed class TextOutlines : Instance ,ITransformable { public enum HorizontalAligns { Left, Center, Right, } public enum VerticalAligns { Top, Middle, Bottom, } [Output(Guid = "58150633-cb65-416c-aad3-3496e930dfd0", DirtyFlagTrigger = DirtyFlagTrigger.Always)] public readonly TransformCallbackSlot Output = new(); public TextOutlines() { Output.TransformableOp = this; } IInputSlot ITransformable.TranslationInput => Position; IInputSlot ITransformable.RotationInput => null; IInputSlot ITransformable.ScaleInput => null; public Action TransformCallback { get; set; } [Input(Guid = "c4b53d8f-1357-47d4-aa73-ca6d07543994")] public readonly InputSlot InputText = new InputSlot(); [Input(Guid = "4da54683-460e-4af6-a729-5c631e22285a")] public readonly InputSlot OutlineColor = new InputSlot(); [Input(Guid = "9e5bfd8d-e3f1-4815-85f3-178be89efcc4")] public readonly InputSlot FillColor = new InputSlot(); [Input(Guid = "9c2089a2-266d-4022-b23d-4c67a8a19788")] public readonly InputSlot Position = new InputSlot(); [Input(Guid = "b15018a7-6c61-4cee-88fa-a43684ef5cc4")] public readonly InputSlot OutsideLine = new InputSlot(); [Input(Guid = "8efc35ee-875b-4181-aa1d-bd705f82bea9")] public readonly InputSlot InsideLine = new InputSlot(); [Input(Guid = "21a2292d-1969-41ee-a71f-00a1621f9539")] public readonly InputSlot FontPath = new InputSlot(); [Input(Guid = "b8035f87-f293-4da0-8bdc-ec75cc6252e7")] public readonly InputSlot Size = new InputSlot(); [Input(Guid = "e6164880-eae5-468e-8dd8-084d20918bc9")] public readonly InputSlot Spacing = new InputSlot(); [Input(Guid = "0abd9f81-bc91-4775-bf0e-472399b9778e")] public readonly InputSlot LineHeight = new InputSlot(); [Input(Guid = "e148fac5-d905-4e74-a958-5ed45b152ae1", MappedType = typeof(VerticalAligns))] public readonly InputSlot VerticalAlign = new InputSlot(); [Input(Guid = "617108fa-e7a6-478d-852b-cd5baa7d0b1c", MappedType = typeof(HorizontalAligns))] public readonly InputSlot HorizontalAlign = new InputSlot(); [Input(Guid = "a827c2c6-3286-4488-9a90-ed38c4184e6a")] public readonly InputSlot CullMode = new InputSlot(); [Input(Guid = "2cb6bb45-a74a-4eba-a2f0-2895e8e38b07")] public readonly InputSlot EnableZTest = new InputSlot(); [Input(Guid = "1b9a9ef5-fe48-4793-b420-7718643035f0")] public readonly InputSlot Sharpness = new InputSlot(); [Input(Guid = "2e0369a0-febf-46a1-b228-cc70d0ae22c6")] public readonly InputSlot BillboardMode = new InputSlot(); }