Skip to content

A fast 2D and 3D game engine — TypeScript SDK, C++/WebAssembly core, visual editor. Ship one project to web, desktop, WeChat MiniGames, playable ads, and native Android / iOS.

feat(anim): the blend twins are both on the public surface

esengine4ced2a6002b9
diff --git a/desktop b/desktop
index 496bdc7f2..47ff62d88 160000
--- a/desktop
+++ b/desktop
@@ -1 +1 @@
-Subproject commit 496bdc7f29223782de70319620f9b32e97b6e13f
+Subproject commit 47ff62d881cbed9a8cbbd421676c405856f7a00d
diff --git a/docs/astro/src/data/apiStability.generated.json b/docs/astro/src/data/apiStability.generated.json
index c9536a233..e0141692a 100644
--- a/docs/astro/src/data/apiStability.generated.json
+++ b/docs/astro/src/data/apiStability.generated.json
@@ -3,10 +3,10 @@
"counts": {
"public": 114,
"beta": 101,
- "experimental": 1866,
+ "experimental": 1867,
"deprecated": 3
},
- "total": 2081,
+ "total": 2082,
"subsystems": [
{
"id": "ecs",
diff --git a/sdk/etc/index.api.md b/sdk/etc/index.api.md
index 4d930f92a..ac3d31478 100644
--- a/sdk/etc/index.api.md
+++ b/sdk/etc/index.api.md
@@ -1,7 +1,7 @@
# API surface — esengine/index
<!-- Generated by tools/api-surface.mjs — do not edit. Run --update to accept changes. -->
-Symbols: 114 public · 94 beta · 1705 experimental · 3 deprecated
+Symbols: 114 public · 94 beta · 1706 experimental · 3 deprecated
## ABI_LAYOUT_HASH — const @experimental
```
@@ -12228,6 +12228,11 @@ InputRouter
(d: Dimension) => boolean
```
+## isBlend1D — function @experimental
+```
+(m: AnimatorMotion): m is AnimatorBlend1DMotion
+```
+
## isBlend2D — function @experimental
```
(m: AnimatorMotion): m is AnimatorBlend2DMotion
diff --git a/sdk/etc/index.native.api.md b/sdk/etc/index.native.api.md
index fdacf1eb3..84e388d97 100644
--- a/sdk/etc/index.native.api.md
+++ b/sdk/etc/index.native.api.md
@@ -1,7 +1,7 @@
# API surface — esengine/index.native
<!-- Generated by tools/api-surface.mjs — do not edit. Run --update to accept changes. -->
-Symbols: 114 public · 99 beta · 1724 experimental · 3 deprecated
+Symbols: 114 public · 99 beta · 1725 experimental · 3 deprecated
## ABI_LAYOUT_HASH — const @experimental
```
@@ -12471,6 +12471,11 @@ InputRouter
(d: Dimension) => boolean
```
+## isBlend1D — function @experimental
+```
+(m: AnimatorMotion): m is AnimatorBlend1DMotion
+```
+
## isBlend2D — function @experimental
```
(m: AnimatorMotion): m is AnimatorBlend2DMotion
diff --git a/sdk/etc/index.node.api.md b/sdk/etc/index.node.api.md
index 141c70199..581a6b862 100644
--- a/sdk/etc/index.node.api.md
+++ b/sdk/etc/index.node.api.md
@@ -1,7 +1,7 @@
# API surface — esengine/index.node
<!-- Generated by tools/api-surface.mjs — do not edit. Run --update to accept changes. -->
-Symbols: 114 public · 96 beta · 1704 experimental · 3 deprecated
+Symbols: 114 public · 96 beta · 1705 experimental · 3 deprecated
## ANCHOR_AXES — const @experimental
```
@@ -12223,6 +12223,11 @@ InputRouter
(d: Dimension) => boolean
```
+## isBlend1D — function @experimental
+```
+(m: AnimatorMotion): m is AnimatorBlend1DMotion
+```
+
## isBlend2D — function @experimental
```
(m: AnimatorMotion): m is AnimatorBlend2DMotion
diff --git a/sdk/etc/minigame.api.md b/sdk/etc/minigame.api.md
index e93ff3dc1..6b3972f58 100644
--- a/sdk/etc/minigame.api.md
+++ b/sdk/etc/minigame.api.md
@@ -1,7 +1,7 @@
# API surface — esengine/minigame
<!-- Generated by tools/api-surface.mjs — do not edit. Run --update to accept changes. -->
-Symbols: 114 public · 94 beta · 1726 experimental · 3 deprecated
+Symbols: 114 public · 94 beta · 1727 experimental · 3 deprecated
## ANCHOR_AXES — const @experimental
```
@@ -12492,6 +12492,11 @@ InputRouter
(d: Dimension) => boolean
```
+## isBlend1D — function @experimental
+```
+(m: AnimatorMotion): m is AnimatorBlend1DMotion
+```
+
## isBlend2D — function @experimental
```
(m: AnimatorMotion): m is AnimatorBlend2DMotion
diff --git a/sdk/etc/wechat.api.md b/sdk/etc/wechat.api.md
index e7a0fcf38..e8eac65df 100644
--- a/sdk/etc/wechat.api.md
+++ b/sdk/etc/wechat.api.md
@@ -1,7 +1,7 @@
# API surface — esengine/wechat
<!-- Generated by tools/api-surface.mjs — do not edit. Run --update to accept changes. -->
-Symbols: 114 public · 94 beta · 1716 experimental · 3 deprecated
+Symbols: 114 public · 94 beta · 1717 experimental · 3 deprecated
## ANCHOR_AXES — const @experimental
```
@@ -12256,6 +12256,11 @@ InputRouter
(d: Dimension) => boolean
```
+## isBlend1D — function @experimental
+```
+(m: AnimatorMotion): m is AnimatorBlend1DMotion
+```
+
## isBlend2D — function @experimental
```
(m: AnimatorMotion): m is AnimatorBlend2DMotion
diff --git a/sdk/src/core-content.ts b/sdk/src/core-content.ts
index a4f638d5d..cb6912ef9 100644
--- a/sdk/src/core-content.ts
+++ b/sdk/src/core-content.ts
@@ -427,6 +427,7 @@ export {
MotionRegistry,
blend1DMotionDriver,
blend2DMotionDriver,
+ isBlend1D,
isBlend2D,
spriteMotionDriver,
SPRITE_MOTION,