A copy of a FlxSprite with a specified color. Used to render the sprite to a frame buffer.

Constructor

new(sprite:FlxSprite, color:Null<FlxColor>)

Methods

@:access(flixel.FlxSprite)render(camera:FlxCamera):Void

Renders the copy to the camera.

Parameters:

camera

the camera