cocos-engine
cocos-engine copied to clipboard
提供spine可被自定义顶点数据格式的方法
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;
@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.