@glowjs/core 2026.4.22 → 2026.5.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/glow.core.d.ts +9 -1
- package/dist/glow.core.js +1 -1
- package/package.json +1 -1
package/dist/glow.core.d.ts
CHANGED
|
@@ -752,7 +752,11 @@ export declare class Animator extends Component {
|
|
|
752
752
|
* 播放指定索引动画组一次(适用于常规播放一次的动话)
|
|
753
753
|
* @param index 动画索引
|
|
754
754
|
*/
|
|
755
|
-
once(index: number): void;
|
|
755
|
+
once(index: number): void; /**
|
|
756
|
+
* 播放指定索引动画组一次(可以播放多次)
|
|
757
|
+
* @param index 动画索引
|
|
758
|
+
*/
|
|
759
|
+
once2(index: number): void;
|
|
756
760
|
private _loopIndex;
|
|
757
761
|
/**
|
|
758
762
|
* 获取或设置循环动画组索引(试用于需要循环播放的动画,比如人物动画)
|
|
@@ -2784,6 +2788,10 @@ export declare class Entity extends Base {
|
|
|
2784
2788
|
*/
|
|
2785
2789
|
get position(): Point3D;
|
|
2786
2790
|
set position(value: Point3D);
|
|
2791
|
+
/**
|
|
2792
|
+
* 获取内部位置,避免多选保存时移位
|
|
2793
|
+
*/
|
|
2794
|
+
get _internalPosition(): Point3D;
|
|
2787
2795
|
/**
|
|
2788
2796
|
* 获取或设置偏移量
|
|
2789
2797
|
*/
|