public override void drawOnImage(ref Image image, BoundingBox boundingBox) { BitmapDecal decal; if (!BitmapDecalCache.Instance.decals.TryGetValue(_url, out decal)) return; Image decalImage = new Image(decal.image); decalImage.scaleAlpha(_alpha); decalImage.rotateImage(_rotation); if (_mirror) decalImage.flipHorizontally(); image.blendImage(decalImage, _blendMethod, _position, _alphaOption, _textureAlpha, boundingBox); }