mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +08:00
[csharp] Ported AnimationState and Animation changes of commit 50bfb3a. See #1303.
This commit is contained in:
parent
9deb3be61c
commit
0d30263f50
@ -742,10 +742,10 @@ namespace Spine {
|
|||||||
propertyIDs.Clear();
|
propertyIDs.Clear();
|
||||||
for (int i = tracks.Count - 1; i >= 0; i--) {
|
for (int i = tracks.Count - 1; i >= 0; i--) {
|
||||||
TrackEntry entry = tracksItems[i];
|
TrackEntry entry = tracksItems[i];
|
||||||
do {
|
while (entry != null) {
|
||||||
ComputeNotLast(entry);
|
ComputeNotLast(entry);
|
||||||
entry = entry.mixingFrom;
|
entry = entry.mixingFrom;
|
||||||
} while (entry != null);
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -61,8 +61,8 @@ namespace Spine {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Transforms the attachment's local <see cref="Vertices"/> to world coordinates. If the slot has <see cref="Slot.Deform"/>,
|
/// Transforms the attachment's local <see cref="Vertices"/> to world coordinates. If the slot's <see cref="Slot.Deform"/> is
|
||||||
/// they are used to deform the vertices.
|
/// not empty, it is used to deform the vertices.
|
||||||
/// <para />
|
/// <para />
|
||||||
/// See <a href="http://esotericsoftware.com/spine-runtime-skeletons#World-transforms">World transforms</a> in the Spine
|
/// See <a href="http://esotericsoftware.com/spine-runtime-skeletons#World-transforms">World transforms</a> in the Spine
|
||||||
/// Runtimes Guide.
|
/// Runtimes Guide.
|
||||||
|
|||||||
@ -122,8 +122,8 @@ namespace Spine {
|
|||||||
/// <summary>The current attachment for the slot, or null if the slot has no attachment.</summary>
|
/// <summary>The current attachment for the slot, or null if the slot has no attachment.</summary>
|
||||||
get { return attachment; }
|
get { return attachment; }
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Sets the slot's attachment and, if the attachment changed, resets <see cref="AttachmentTime"/> and clears
|
/// Sets the slot's attachment and, if the attachment changed, resets <see cref="AttachmentTime"/> and clears <see cref="Deform">.
|
||||||
/// <see cref="AttachmentVertices">.</summary>
|
/// </summary>
|
||||||
/// <param name="value">May be null.</param>
|
/// <param name="value">May be null.</param>
|
||||||
set {
|
set {
|
||||||
if (attachment == value) return;
|
if (attachment == value) return;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user