精简代码

This commit is contained in:
ww-rm
2025-10-01 19:58:39 +08:00
parent 681b1be360
commit 44548618e8
2 changed files with 1 additions and 102 deletions

View File

@@ -7,46 +7,8 @@ using System.Threading.Tasks;
namespace Spine.Interfaces.Attachments
{
public interface ISkinnedMeshAttachment : IAttachment
public interface ISkinnedMeshAttachment : IMeshAttachment
{
/// <summary>
/// R
/// </summary>
public float R { get; set; }
/// <summary>
/// G
/// </summary>
public float G { get; set; }
/// <summary>
/// B
/// </summary>
public float B { get; set; }
/// <summary>
/// A
/// </summary>
public float A { get; set; }
/// <summary>
/// 用于渲染的纹理对象
/// </summary>
public SFML.Graphics.Texture RendererObject { get; }
/// <summary>
/// 顶点纹理坐标, 每个坐标有 u 和 v 两个数, 有效长度和 <see cref="IAttachment.ComputeWorldVertices(ISlot, ref float[])"/> 返回值一致
/// </summary>
public float[] UVs { get; }
/// <summary>
/// 三角形索引顶点数组, 每 3 个为一组, 指向顶点的下标 (不是顶点坐标数组下标)
/// </summary>
public int[] Triangles { get; }
/// <summary>
/// 边缘顶点数组长度
/// </summary>
public int HullLength { get; }
}
}