Class: TextureSelection
TextureSelection holds reference to one or many textures or something that can be resolved to one or many textures. This is used to decouple resolving references to textures from rendering them in various ways.
Constructors
Constructor
new TextureSelection(
selection,atlas?):TextureSelection
Parameters
selection
atlas?
Returns
TextureSelection
Properties
atlas
atlas:
Atlas
selection
selection:
TextureSelectionInput
Methods
array()
array(
arr?):Texture[]
Parameters
arr?
Texture[]
Returns
Texture[]
one()
one(
subquery?):Texture
Parameters
subquery?
string