mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-04 22:34:53 +08:00
64 lines
1.9 KiB
XML
64 lines
1.9 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="SpineTimeline" inherits="SpineObjectWrapper" version="3.4">
|
|
<brief_description>
|
|
The base class for all timelines.
|
|
</brief_description>
|
|
<description>
|
|
The base class for all timelines.
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
<methods>
|
|
<method name="apply">
|
|
<return type="void" />
|
|
<argument index="0" name="skeleton" type="SpineSkeleton" />
|
|
<argument index="1" name="last_time" type="float" />
|
|
<argument index="2" name="time" type="float" />
|
|
<argument index="3" name="events" type="Array" />
|
|
<argument index="4" name="alpha" type="float" />
|
|
<argument index="5" name="blend" type="int" enum="SpineConstant.MixBlend" />
|
|
<argument index="6" name="direction" type="int" enum="SpineConstant.MixDirection" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="get_duration">
|
|
<return type="float" />
|
|
<description>
|
|
The duration in seconds.
|
|
</description>
|
|
</method>
|
|
<method name="get_frame_count">
|
|
<return type="int" />
|
|
<description>
|
|
The number of frames for this timeline.
|
|
</description>
|
|
</method>
|
|
<method name="get_frame_entries">
|
|
<return type="int" />
|
|
<description>
|
|
The number of entries stored per frame.
|
|
</description>
|
|
</method>
|
|
<method name="get_frames">
|
|
<return type="Array" />
|
|
<description>
|
|
The time in seconds and any other values for each frame. Modifying the array has no effect.
|
|
</description>
|
|
</method>
|
|
<method name="get_property_ids">
|
|
<return type="Array" />
|
|
<description>
|
|
Uniquely encodes both the type of this timeline and the skeleton properties that it affects. Modifying the array has no effect.
|
|
</description>
|
|
</method>
|
|
<method name="get_type">
|
|
<return type="String" />
|
|
<description>
|
|
The timeline's type encoded as a string.
|
|
</description>
|
|
</method>
|
|
</methods>
|
|
<constants>
|
|
</constants>
|
|
</class>
|