OptionalendOptionalframeThe fixed height of each frame. If not set it will use the frameWidth as the height.
The fixed width of each frame.
OptionalmarginIf the frames have been drawn with a margin, specify the amount here.
OptionalspacingIf the frames have been drawn with spacing between them, specify the amount here.
OptionalstartSkip a number of frames. Useful when there are multiple sprite sheets in one Texture.
The total number of frames to extract from the Sprite Sheet. The default value of -1 means "extract all frames".