Events

@:dox(show)observedDirty(instance:TextureAtlasPage, fromSerializedField:Bool):Void

Event when any observable value as changed on this instance.

@:dox(show)nameChange(current:String, previous:String):Void

Event when name field changes.

@:dox(show)widthChange(current:Float, previous:Float):Void

Event when width field changes.

@:dox(show)heightChange(current:Float, previous:Float):Void

Event when height field changes.

@:dox(show)filterChange(current:TextureFilter, previous:TextureFilter):Void

Event when filter field changes.

@:dox(show)textureChange(current:Texture, previous:Texture):Void

Event when texture field changes.

Constructor

@:value({ texture : null, filter : LINEAR, height : 0, width : 0 })new(name:String, width:Float = 0, height:Float = 0, filter:TextureFilter = LINEAR, ?texture:Texture)

Variables

@:value(false)observedDirty:Bool = false

Default is false, automatically set to true when any of this instance's observable variables has changed.

@observename:String

@:value(0)@observewidth:Float = 0

@:value(0)@observeheight:Float = 0

@:value(LINEAR)@observefilter:TextureFilter = LINEAR

@:value(null)@observetexture:Texture = null

Methods