-
Notifications
You must be signed in to change notification settings - Fork 9
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
Create new branch for spine 4.0 version & update runtime #97
base: 4.0
Are you sure you want to change the base?
Conversation
* feat: Compatible with Spine version 4.2 * feat: Remove redundant API of spine renderer. * feat: Rename MeshGenerator to SpineGenerator and extract to static param of spine render *feat: Add SkeletonDataResource to manage spine resource memory * feat: Cache material and animationStateData to optimize memory usage * feat: Remove SpineMesh, replace all mesh APIs with primitive * feat: Refactor SpineLoader to adapt to the new asset types in the editor * feat: Support load multi spine atlas textures * feat: Support Temporary Link Scenarios
* feat:fix multiply blend mode render problem
* refactor: refract spine API
// First setup for galacean engine, get scene and create root entity. | ||
// Find setup code here: | ||
|
||
// And then load spine resource and instantiate a spine entity with the resource. |
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.
这里没有体现 SpineAnimationRenderer 咋用
return textureAtlas; | ||
} | ||
|
||
export function loadTexture( |
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.
调用 loadTexture 的地方,是否我们都可以替代,是的话,是否直接使用. engine.resourceManager.load 就可以了
@@ -0,0 +1,25 @@ | |||
export class ReturnablePool<T> { |
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.
ReturnablePool 和 ClearablePool 引擎就有导出呀,为啥这里要在写一份
Description:
Detail change:
spine-core update:Updated spine-core, use npm module instead.