gl-draw 0.18.16 → 0.18.17
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/index.d.ts +9 -0
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -3079,6 +3079,15 @@ declare class SceneSerializer {
|
|
|
3079
3079
|
* 根据 objectType 和 registry 创建 BaseObject 实例
|
|
3080
3080
|
*/
|
|
3081
3081
|
private _createInstance;
|
|
3082
|
+
/**
|
|
3083
|
+
* 还原前克隆输入,避免修改调用方持有的数据对象。
|
|
3084
|
+
* 如果 structuredClone 失败,会输出首个不可复制的属性路径。
|
|
3085
|
+
*/
|
|
3086
|
+
private _cloneRestoreInput;
|
|
3087
|
+
private _findStructuredCloneFailure;
|
|
3088
|
+
private _appendClonePath;
|
|
3089
|
+
private _cloneObject3dUserData;
|
|
3090
|
+
private _normalizeStructuredCloneInput;
|
|
3082
3091
|
/**
|
|
3083
3092
|
* 安全地克隆 options,过滤掉不可序列化的 Three.js 对象
|
|
3084
3093
|
*/
|