cocos-engine icon indicating copy to clipboard operation
cocos-engine copied to clipboard

提供spine可被自定义顶点数据格式的方法

Open NorhsArk opened this issue 8 months ago • 2 comments

NorhsArk avatar Mar 26 '25 02:03 NorhsArk

Code Size Check Report

Wechat (WASM) Before After Diff
2D Empty (legacy pipeline) 1002411 bytes 1002411 bytes ✅ 0 bytes
2D All (legacy pipeline) 2663845 bytes 2664241 bytes ⚠️ +396 bytes
2D All (new pipeline) 2751265 bytes 2751661 bytes ⚠️ +396 bytes
(2D + 3D) All 10004545 bytes 10004939 bytes ⚠️ +394 bytes
Web (WASM + ASMJS) Before After Diff
(2D + 3D) All 16917045 bytes 16917439 bytes ⚠️ +394 bytes

Interface Check Report

! WARNING this pull request has changed these public interfaces:

@@ -70480,8 +70480,9 @@
             model: _cocos_spine_skeleton_cache__SpineModel;
             boneInfos: _cocos_spine_skeleton_cache__FrameBoneInfo[];
         }
         export class _cocos_spine_skeleton_cache__AnimationCache {
+            static customVfmts(customizedOneColorVfmt: gfx.Attribute[], customizedTwoColorVfmt: gfx.Attribute[]): void;
             protected _instance: sp.spine.SkeletonInstance | null;
             protected _state: sp.spine.AnimationState;
             protected _skeletonData: sp.spine.SkeletonData;
             protected _skeleton: sp.spine.Skeleton;

github-actions[bot] avatar Mar 26 '25 02:03 github-actions[bot]

@NorhsArk Could you upload you demo? At this PR, it doesn`t inlude native's modify. This will result in inconsistencies between native and web implementations.

bofeng-song avatar Apr 18 '25 09:04 bofeng-song