Spine Component Reference
The Spine component supports the data formats exported by Spine, and renders and plays Spine resources.
Click the Add Component at the bottom of Properties and select Spine Skeleton from Renderer Component in order to add the Spine component to the node.
About the Spine's scripting interface please refer to Skeleton API
|Skeleton Data||The skeleton data contains the skeleton information, drag the bone resources exported from Spine into this property.|
|Default Skin||Choose the default skin texture|
|Animation||The name of current playing animation|
|Animation Cache Mode||Render mode, default is
1. REALTIME model, realtime calculate, support all functions of Spine.
2. SHARED_CACHE mode, caching and sharing animation data, the equivalent of pre baked skeletal animation, have high performance, does not support the action blend and superposition, only supports the start and end events, as for memory, when creating some same bones and the same action of animation, can present advantages of memory, the greater the amount of skeleton, the more obvious advantages, in conclusion
3. PRIVATE_CACHE mode, similar to
|Loop||Whether loop current animation|
|Premultiplied Alpha||Indicates whether to enable premultiplied alpha, default is True.
You should disable this option when image's transparent area appears to have opaque pixels, or enable this option when image's half transparent area appears to be darken.
|Time Scale||The time scale of animation of this skeleton|
|Debug Slots||Indicates whether show debug slots|
|Debug Bones||Indicates whether show debug bones|
|Use Tint||Indicates whether open tint, default is close. (New in v2.0.9)|
|Enable Batch||Whether to enable animation batch, default is disabled. (New in v2.0.9)
When enable, drawcall will reduce, which is suitable for a large number of simple animations to play at the same time.
When disabled, drawcall will rise, but it can reduce the computational burden of the CPU. Suitable for complex animations.
Note: when using the Spine component, the
Sizeproperties on the Node component in the properties panel are invalid.