[Papervision3D] How to remove planes from scene? (AS2)
andré gustavo cardozo
walkandre at gmail.com
Wed Jun 27 17:02:39 EDT 2007
i´m working with the as2 version also and there´s a lot of things that were
not implemented yet from as3 version. I wounder if we can contribute on as2
version while as3 is been written.
On 6/27/07, Zeh Fernando <zehfernando at zeh.com.br> wrote:
> Hey Pedro,
> > I'm using simply scene.objects.splice(index, 1);
> > Not sure it's the best way though.
> Yeah, I found that array later. I just thought there was some cleaner
> way/method that'd automatically get rid of unneeded bitmapdata instances.
> In the end, I'm removing the plane from scene.objects, the material from
> scene.materials, and dispose()ing of the material's .bitmap. This seems
> to be clear enough and with mininum leaks.
> Papervision3D mailing list
> Papervision3D at osflash.org
André G. Cardozo
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Papervision3D