private function change(e:MouseEvent3D):void {
var target:Mesh=e.target as Mesh;
for(j=0;j<target.faces.length-1;j++)
{
var fd:Face = target.faces[j] as Face;
fd.material = yourMaterial;
}
}
- [away3d] looking for a simple way to change the colormaterial ... Colir
- [away3d] Re: looking for a simple way to change the color... desgraci
- [away3d] Re: looking for a simple way to change the c... Colir
- [away3d] Re: looking for a simple way to change t... desgraci
- [away3d] Re: looking for a simple way to chan... desgraci
- [away3d] Re: looking for a simple way to... ben
- [away3d] Re: looking for a simple wa... Colir
- [away3d] Re: looking for a simpl... ben
- [away3d] Re: looking for a simpl... Colir
- [away3d] Re: looking for a simpl... Colir
- [away3d] Re: looking for a simpl... Rob Bateman
- [away3d] Re: looking for a simpl... Colir
- [away3d] Re: looking for a simpl... Rob Bateman
- [away3d] Re: looking for a simpl... Colir
