Constructor

@:value({ edgeInset : 0, rotateFrame : false })new(texture:Texture, frameX:Float, frameY:Float, frameWidth:Float, frameHeight:Float, rotateFrame:Bool = false, edgeInset:Float = 0)

Variables

edgeInset:Float

When assigning the file to a quad, edge uvs will be adjusted by this inset. Can be useful to set it to values like 0.5 in some situations like preventing atlas regions from displaying bleed from siblings.

Methods

inlineframe(frameX:Float, frameY:Float, frameWidth:Float, frameHeight:Float):Void