mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-25 19:21:26 +08:00
Merge branch '4.1' into 4.2-beta
This commit is contained in:
commit
9971d1ed0b
@ -25,4 +25,4 @@ file(GLOB_RECURSE SPINE_COCOS2DX_SOURCES "${SPINE_RUNTIMES_PATH}/spine-cocos2dx/
|
|||||||
add_library(spine-cocos2dx STATIC ${SPINE_COCOS2DX_SOURCES} ${SPINE_COCOS2DX_HEADERS})
|
add_library(spine-cocos2dx STATIC ${SPINE_COCOS2DX_SOURCES} ${SPINE_COCOS2DX_HEADERS})
|
||||||
target_include_directories(spine-cocos2dx PUBLIC "${SPINE_RUNTIMES_PATH}/spine-cpp/spine-cpp/include/")
|
target_include_directories(spine-cocos2dx PUBLIC "${SPINE_RUNTIMES_PATH}/spine-cpp/spine-cpp/include/")
|
||||||
target_include_directories(spine-cocos2dx PUBLIC "${SPINE_RUNTIMES_PATH}/spine-cocos2dx/spine-cocos2dx/src/")
|
target_include_directories(spine-cocos2dx PUBLIC "${SPINE_RUNTIMES_PATH}/spine-cocos2dx/spine-cocos2dx/src/")
|
||||||
target_link_libraries(spine-cocos2dx PRIVATE cocos2d)
|
target_link_libraries(spine-cocos2dx PRIVATE cocos2d spine-cpp)
|
||||||
@ -1151,7 +1151,8 @@ public class AnimationState {
|
|||||||
* {@link AnimationStateData#getMix(Animation, Animation)} based on the animation before this animation (if any).
|
* {@link AnimationStateData#getMix(Animation, Animation)} based on the animation before this animation (if any).
|
||||||
* <p>
|
* <p>
|
||||||
* A mix duration of 0 still mixes out over one frame to provide the track entry being mixed out a chance to revert the
|
* A mix duration of 0 still mixes out over one frame to provide the track entry being mixed out a chance to revert the
|
||||||
* properties it was animating.
|
* properties it was animating. A mix duration of 0 can be set at any time to end the mix on the next
|
||||||
|
* {@link AnimationState#update(float) update}.
|
||||||
* <p>
|
* <p>
|
||||||
* The <code>mixDuration</code> can be set manually rather than use the value from
|
* The <code>mixDuration</code> can be set manually rather than use the value from
|
||||||
* {@link AnimationStateData#getMix(Animation, Animation)}. In that case, the <code>mixDuration</code> can be set for a new
|
* {@link AnimationStateData#getMix(Animation, Animation)}. In that case, the <code>mixDuration</code> can be set for a new
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user