You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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);
}));
`
The text was updated successfully, but these errors were encountered:
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
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);
}));
`
The text was updated successfully, but these errors were encountered: