Hi Jonny, I never change the uv in a mesh directly, but i think this would works. If you want to change the uv in faces[0], use this :
(myMesh.faces[0] as Face).uv0.u = horizontalCoordinateOfUV0; (myMesh.faces[0] as Face).uv0.v = verticalCoordinateOfUV0; One face has three uv that are uv0, uv1, uv2. Good luck. :D On Thu, Nov 4, 2010 at 5:18 PM, jonny <[email protected]> wrote: > sorry to reply to my own message. But does anyone know how to do > this? > > It seems like a very simple task but im not sure how you do it in > away3d? > > Thanks > > On Nov 3, 11:46 pm, jonny <[email protected]> wrote: > > Hi, > > > > If I am using the Plane object and I want to apply my own UV mapping > > to a material. How would I do this? > > > > For example, I want the top left of the plane to map to (0.25,0) on > > the material and then: > > bottom left -> (0.25,1) > > bottom right -> (0.75,1) > > top right -> (0.75,0) > > > > It seems like a very simple thing to do but I cannot find how to do > > this with the basic away3d primitives, specifically the Plane. > > > > Thanks > -- Aji Pamungkas
