new Texture(baseTexture, frame, crop, trim)
A texture stores the information that represents an image or part of an image. It cannot be addedto the display list directly. Instead use it as the texture for a PIXI.Sprite. If no frame is provided then the whole image is used.
Parameters
Name Type Argument Description baseTexture PIXI.BaseTexture The base texture source to create the texture from frame Rectangle The rectangle frame of the texture to show crop Rectangle <optional>