forked from cocos/cocos-engine
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
update spine #12
Merged
Merged
update spine #12
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Interface Check Report! WARNING this pull request has changed these public interfaces:
@@ -50505,9 +50505,10 @@
setJitterEffect(jitter: spine.VertexEffect);
setSwirlEffect(swirl: spine.VertexEffect);
updateRenderData();
setListener(id: number, type: number);
- static getCurrentEvent(): Event;
+ setDebugMode(debug: boolean);
+ getDebugShapes();
}
export class wasmUtil {
static spineWasmInit(): void;
static spineWasmDestroy(): void;
@@ -50521,9 +50522,9 @@
static getCurrentListenerID(): number;
static getCurrentEventType(): EventType;
static getCurrentTrackEntry(): TrackEntry;
static getCurrentEvent(): Event;
- static HEAPU8: Uint8Array;
+ static wasm: any;
}
}
/**
* @internal Since v3.7.2, this is an engine private type.
@@ -50718,12 +50719,8 @@
protected _accTime: number;
protected _playCount: number;
protected _skeletonCache: __private._cocos_spine_skeleton_cache__SkeletonCache | null;
protected _animCache: __private._cocos_spine_skeleton_cache__AnimationCache | null;
- /**
- * @internal
- */
- _curFrame: __private._cocos_spine_skeleton_cache__AnimationFrame | null;
protected _needUpdateSkeltonData: boolean;
protected _listener: __private._cocos_spine_track_entry_listeners__TrackEntryListeners | null;
constructor();
/**
@@ -50893,12 +50890,8 @@
*/
updateAnimation(dt: number): void;
protected _flushAssembler(): void;
protected _render(batcher: UI): void;
- /**
- * @internal
- */
- requestDrawData(material: Material, indexOffset: number, indexCount: number): __private._cocos_spine_skeleton__SkeletonDrawData;
protected _updateBuiltinMaterial(): Material;
protected _updateAnimEnum(): void;
protected _updateSkinEnum(): void;
protected _refreshInspector(): void;
|
PPpro
reviewed
Jun 16, 2023
cocos/spine/skeleton.ts
Outdated
@@ -256,6 +256,11 @@ export class Skeleton extends UIRenderer { | |||
protected _needUpdateSkeltonData = true; | |||
protected _listener: TrackEntryListeners | null = null; | |||
|
|||
/** | |||
* @internal |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggested change
* @internal | |
* @engineInternal |
PPpro
approved these changes
Jun 16, 2023
@zhakesi ❗ There was an error during the execution of the tasks. Please check the logs for more details. |
PPpro
pushed a commit
that referenced
this pull request
Jun 18, 2023
* support debug renderer * fix cached mode update color * enable Batch mode * fix engineInternal
PPpro
pushed a commit
that referenced
this pull request
Jun 18, 2023
* support debug renderer * fix cached mode update color * enable Batch mode * fix engineInternal
PPpro
added a commit
that referenced
this pull request
Jun 19, 2023
…#15469) * optimize: load spine asm.js module with js.mem * update spine (#12) * support debug renderer * fix cached mode update color * enable Batch mode * fix engineInternal * fix ESLint --------- Co-authored-by: zhakesi <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.