-1
if there is no video stream.
+ 子对象列表
-1
if there is no audio stream.
+ 对象的相对位置。
+ 如果对象没有父对象,则返回世界位置
-1
for auto selection.
+ 设置父变换
-1
for auto selection.
+ 看向某个点
+ armature.animation.play("walk"); ++
+ armature.animation.play("walk"); ++
+ armature.animation.fadeIn("walk", 0.3, 0, 0, "normalGroup").resetToPose = false; + armature.animation.fadeIn("attack", 0.3, 1, 0, "attackGroup").resetToPose = false; ++
+ armature.animation.fadeIn("walk", 0.3, 0, 0, "normalGroup").resetToPose = false; + armature.animation.fadeIn("attack", 0.3, 1, 0, "attackGroup").resetToPose = false; ++
+ armature.animation.play("walk"); + let walkState = armature.animation.getState("walk"); + walkState.timeScale = 0.5; ++
+ armature.animation.play("walk"); + let walkState = armature.animation.getState("walk"); + walkState.timeScale = 0.5; ++
-1
for auto selection.
+ - 动画状态播放完成后的自动淡出时间。
+ [-1: 不自动淡出, [0~N]: 淡出时间] (以秒为单位)
-1
for auto selection.
- https://ffmpeg.org/ffmpeg-scaler.html
.
+ - Advance time.
+ removeChild(armature.display); + armature.dispose(); ++
+ removeChild(armature.display); + armature.dispose(); ++
+ armature.cacheFrameRate = 24; ++
+ armature.cacheFrameRate = 24; ++
+ let bone = armature.getBone("arm"); + bone.offset.scaleX = 2.0; + bone.invalidUpdate(); ++
+ let bone = armature.getBone("arm"); + bone.offset.scaleX = 2.0; + bone.invalidUpdate(); ++
- armature.animation.play("walk"); --
- armature.animation.play("walk"); --
- armature.animation.fadeIn("walk", 0.3, 0, 0, "normalGroup").resetToPose = false; - armature.animation.fadeIn("attack", 0.3, 1, 0, "attackGroup").resetToPose = false; --
- armature.animation.fadeIn("walk", 0.3, 0, 0, "normalGroup").resetToPose = false; - armature.animation.fadeIn("attack", 0.3, 1, 0, "attackGroup").resetToPose = false; --
- armature.animation.play("walk"); - let walkState = armature.animation.getState("walk"); - walkState.timeScale = 0.5; + removeChild(armatureDisplay); + armatureDisplay.dispose();
- armature.animation.play("walk"); - let walkState = armature.animation.getState("walk"); - walkState.timeScale = 0.5; + removeChild(armatureDisplay); + armatureDisplay.dispose();