Update: I think i figured out that Sprite2D has really been replaced
by DirectionalSprite.
So my question is now only:

Scene3D.addChild / removeChild, how to add or remove a child to a
scene as Sprite2D is not an Object3D anymore ??

THANKS!

Régis

On Sep 27, 8:46 pm, rderimay <[email protected]> wrote:
> Hi there,
>
> i am facing a problem migrating from 3.5 to 3.6 on a Sprite2D object.
>
> 1. By which object the Sprite2D object has been replaced (is it
> DirectionalSprite ?)
> 2. The old Sprite2D took a BitmapData as input, which
> DirectionalSprite does not but materials. How can I get the
> functionality back using Materials?
> 3. Should it be DirectionalSprite, then the addChild/removeChild
> function of the View3D throw a explicit coercicion warning as
> DirectionalSprite is not a child of Object3D anymore but of Element.
>
> Many thanks if someone can help!
>
> Régis

Reply via email to