[cpp] 4.3 porting WIP

This commit is contained in:
Mario Zechner 2025-07-04 22:18:50 +02:00
parent f24242e317
commit 80bf16785f

View File

@ -38,6 +38,7 @@ namespace spine {
class Attachment;
class HasTextureRegion;
/// Changes a slot's SlotPose::getSequenceIndex() for an attachment's Sequence.
class SP_API SequenceTimeline : public Timeline, public SlotTimeline {
friend class SkeletonBinary;
@ -54,6 +55,9 @@ namespace spine {
apply(Skeleton &skeleton, float lastTime, float time, Vector<Event *> *pEvents, float alpha, MixBlend blend,
MixDirection direction, bool appliedPose) override;
/// Sets the time, mode, index, and frame time for the specified frame.
/// @param frame Between 0 and frameCount, inclusive.
/// @param delay Seconds between frames.
void setFrame(int frame, float time, SequenceMode mode, int index, float delay);
Attachment *getAttachment() { return (Attachment*)_attachment; }