mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-20 01:06:00 +08:00
[flutter] Fix missing definition of Blend mode set function (#2458)
* Fix skeleton.getY() and skeleton.getScaleY() * [flutter] Fix missing definition of Blend mode set function.
This commit is contained in:
parent
4fb96bb24f
commit
5edc53f2b0
@ -1863,6 +1863,12 @@ spine_blend_mode spine_slot_data_get_blend_mode(spine_slot_data slot) {
|
||||
return (spine_blend_mode) _slot->getBlendMode();
|
||||
}
|
||||
|
||||
void spine_slot_data_set_blend_mode(spine_slot_data slot, spine_blend_mode blendMode) {
|
||||
if (slot == nullptr) return;
|
||||
SlotData *_slot = (SlotData *) slot;
|
||||
_slot->setBlendMode((BlendMode) blendMode);
|
||||
}
|
||||
|
||||
// Slot
|
||||
void spine_slot_set_to_setup_pose(spine_slot slot) {
|
||||
if (slot == nullptr) return;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user