Gets a Frame from this Texture based on either the key or the index of the Frame.
In a Texture Atlas Frames are typically referenced by a key. In a Sprite Sheet Frames are referenced by an index. Passing no value for the name returns the base texture.
|string | number
The string-based name, or integer based index, of the Frame to get from this Texture.
The Texture Frame.