增加region注释
This commit is contained in:
@@ -230,6 +230,8 @@ namespace SpineViewer.Spine
|
|||||||
public void Dispose() { Dispose(true); GC.SuppressFinalize(this); }
|
public void Dispose() { Dispose(true); GC.SuppressFinalize(this); }
|
||||||
protected virtual void Dispose(bool disposing) { preview?.Dispose(); }
|
protected virtual void Dispose(bool disposing) { preview?.Dispose(); }
|
||||||
|
|
||||||
|
#region 属性 | 基本信息
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取所属版本
|
/// 获取所属版本
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -267,6 +269,10 @@ namespace SpineViewer.Spine
|
|||||||
[Category("基本信息"), DisplayName("文件版本")]
|
[Category("基本信息"), DisplayName("文件版本")]
|
||||||
public abstract string FileVersion { get; }
|
public abstract string FileVersion { get; }
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
#region 属性 | 变换
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 缩放比例
|
/// 缩放比例
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -292,12 +298,18 @@ namespace SpineViewer.Spine
|
|||||||
[Category("变换"), DisplayName("垂直翻转")]
|
[Category("变换"), DisplayName("垂直翻转")]
|
||||||
public abstract bool FlipY { get; set; }
|
public abstract bool FlipY { get; set; }
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
#region 属性 | 画面
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 是否使用预乘Alpha
|
/// 是否使用预乘Alpha
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Category("画面"), DisplayName("预乘Alpha通道")]
|
[Category("画面"), DisplayName("预乘Alpha通道")]
|
||||||
public bool UsePremultipliedAlpha { get; set; } = true;
|
public bool UsePremultipliedAlpha { get; set; } = true;
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 包含的所有动画名称
|
/// 包含的所有动画名称
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -311,6 +323,8 @@ namespace SpineViewer.Spine
|
|||||||
[Browsable(false)]
|
[Browsable(false)]
|
||||||
public string DefaultAnimationName { get => animationNames.Last(); }
|
public string DefaultAnimationName { get => animationNames.Last(); }
|
||||||
|
|
||||||
|
#region 属性 | 动画
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 当前动画名称, 如果设置的动画不存在则忽略
|
/// 当前动画名称, 如果设置的动画不存在则忽略
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -324,6 +338,8 @@ namespace SpineViewer.Spine
|
|||||||
[Category("动画"), DisplayName("当前动画时长")]
|
[Category("动画"), DisplayName("当前动画时长")]
|
||||||
public float CurrentAnimationDuration { get => GetAnimationDuration(CurrentAnimation); }
|
public float CurrentAnimationDuration { get => GetAnimationDuration(CurrentAnimation); }
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 骨骼包围盒
|
/// 骨骼包围盒
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
Reference in New Issue
Block a user