using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Spine.SpineWrappers.Attachments; namespace Spine.SpineWrappers { public interface ISlot { /// /// 插槽唯一名字 /// public string Name { get; } /// /// 插槽唯一索引 /// public int Index { get; } /// /// 混合模式 /// public SFML.Graphics.BlendMode Blend { get; } /// /// R /// public float R { get; set; } /// /// G /// public float G { get; set; } /// /// B /// public float B { get; set; } /// /// A /// public float A { get; set; } /// /// 所在骨骼 /// public IBone Bone { get; } /// /// 使用的附件, 可以设置为 null 清空附件 /// public IAttachment? Attachment { get; set; } /// /// 是否已禁用渲染该插槽 /// public bool Disabled { get; set; } } }