OptionaldefaultDefault anchor point used for sprite placement / rotation
OptionaldefaultDefault borders used for 9-slice scaling NineSlicePlane
OptionaldynamicSet to true if you plan on modifying this texture's frame, UVs, or swapping its source at runtime. This is false by default as it improves performance. Generally, it's recommended to create new textures and swap those rather than modifying an existing texture's properties unless you are working with a dynamic frames. Not setting this to true when modifying the texture can lead to visual artifacts.
If this is false and you modify the texture, you can manually update the sprite's texture by calling
sprite.onViewUpdate().
OptionalframeThe rectangle frame of the texture to show
Optionallabeloptional label, for debugging
OptionalorigThe area of original texture
Optionalrotateindicates how the texture was rotated by texture packer. See groupD8
Optionalsourcethe underlying texture data that this texture will use
OptionaltrimTrimmed rectangle of original texture
The options that can be passed to a new Texture