For those who used to have a look at the AbstractRenderSession class
v3.3.3, in the method:
public function renderTriangleBitmapF10(bitmap:BitmapData,
vertices:Vector.<Number>, uvtData:Vector.<Number>, smooth:Boolean,
repeat:Boolean, layerGraphics:Graphics = null,scale:Boolean =
false):void
{
if (!layerGraphics && _layerDirty)
createLayer();
fill.bitmapData = bitmap;
fill.repeat = true;
fill.smooth = smooth;
path.vertices = vertices;
path.uvtData = uvtData;
if (layerGraphics) {
layerGraphics.lineStyle();
layerGraphics.drawGraphicsData(drawing);
} else {
graphics.lineStyle();
graphics.drawGraphicsData(drawing);
}
}
I should be able to change the drawing scale per face by addin:
as fill is a GraphicsBitmapFill object
fill.matrix = new Matrix();
fill.matrix.scale(.2,.2);
but nothing changes ??? any idea ?