Available on all targets
@:value({ edgeInset : 0, rotateFrame : false })new(texture:Texture, frameX:Float, frameY:Float, frameWidth:Float, frameHeight:Float, rotateFrame:Bool = false, edgeInset:Float = 0)
texture:Texture
frameX:Float
frameY:Float
frameWidth:Float
frameHeight:Float
rotateFrame:Bool
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.
0.5
inlineframe(frameX:Float, frameY:Float, frameWidth:Float, frameHeight:Float):Void