关于BitmapEffectLayer
ken (2010-01-21 11:54:52)
bfx = new BitmapEffectLayer(viewport, stage.stageWidth, stage.stageHeight);
bfx.addEffect(new BitmapLayerEffect(new BlurFilter(16, 16, 1)));
bfx.clippingPoint = new Point(0, -5);
bfx.drawCommand = new BitmapDrawCommand(null, new ColorTransform(0.9, 0.8, 1, 0.2), BlendMode.ADD);
viewport.containerSprite.addLayer(bfx);
上面那段代码中 我去掉clippingPoint ,drawCommand 并没有对效果产生变化,那么起到什么作用啊