Skip to content
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

animation layer blend with mask not work when use Laya.Sprite3D.instantiate() to clone a sprite. #732

Open
xdxttt opened this issue Sep 1, 2021 · 0 comments

Comments

@xdxttt
Copy link

xdxttt commented Sep 1, 2021

animation layer blend with mask not work when use Laya.Sprite3D.instantiate() to clone a sprite.

`
Laya.Sprite3D.load("xxx.lh", Laya.Handler.create(this, function (sprite: Laya.Sprite3D) {

// layer blend with mask will not work;
var cloneSprite= Laya.Sprite3D.instantiate(sprite);
scene3d.addChild(character);

// layer blend with mask will work.
scene3d.addChild(sprite);

}));
`

@xdxttt xdxttt changed the title animation layer blend feature failured after call Laya.Sprite3D.instantiate() animation layer blend with mask not work when use Laya.Sprite3D.instantiate() to clone a sprite. Sep 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant