I was thinking about using it at runtime, Rob. But I'll try passing it as a parameter during the initialization and see if I can make it work that way.
Thank you very much for your answer. Felipe On 4 jul, 10:10, Rob Bateman <[email protected]> wrote: > Hey Felipe > > the PhongMovieMaterial does see to lack a few setters for the contained > MovieMaterial, but have you tried setting the autoUpdate property in the > initialiser object? I think this is passed through, so any properties you > set here will automatically be passed to the MovieMaterial contained within. > Or are you wanting to change the autoUpdate property at runtime? > > Rob > > > > On Fri, Jul 3, 2009 at 8:50 PM, FelipeSQ <[email protected]> wrote: > > > I used MovieMaterial on a previous project and I realized that if you > > don't set the autoUpdate to false, the processor won't be released > > even if you don't change anything on the scene. This is a great > > funcionality!!! > > > Then problem now is: I'm using DirectionalLight3D and an object with > > PhongMovieMaterial. How can I do the same thing? I didn't find any > > autoUpdate property on the PhongMovieMaterial and The processor is > > going all the way to 75% and is not being released. Is there any way > > that I can tell the scene not to Update the material until I tell it > > to?! > > > Thanks in advance, > > Felipe > > -- > Rob Bateman > Flash Development & Consultancy > > [email protected]
