Animating texture on Sprite3D - uvTransform is null?

Software: Away3D 4.x

bluntcoder, Newbie
Posted: 28 November 2012 04:50 PM   Total Posts: 19

Hi there,

I was to use the uvTransform to crop/move my texture around on my Sprite3D. However uvTransform inside the Sprite3D class just returns null, and is a read-only property. I also get the error of

WarninganimateUVs is set to true with an IRenderable without a uvTransformIdentity matrix assumed

When I have animateUVs on the texture in question set. I’ve noticed a few posts on this forum referencing using the uvTransform to do what I want - but as it stands, it’s not possible. Am I missing something here? Was this feature changed recently in 4.0.9? Or is there something else I can do besides after the code to do what I want?

Thanks,
  BC

   

bluntcoder, Newbie
Posted: 28 November 2012 06:27 PM   Total Posts: 19   [ # 1 ]

Well then,

Looks like it was as easy as adding a _uvTransform member to the Sprite3D class!

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X