Description
The SequenceData
property of the Texture
class provides information about the sprite sheet if the texture is a sprite sheet. This information is typically used in shaders and is not generally required to be understood or manipulated directly by the user.
Usage
Access the SequenceData
property when you need to retrieve information about the sprite sheet associated with a texture. This is particularly useful when working with shaders that require sprite sheet data.
Example
// Example of accessing the SequenceData property
Texture myTexture = new Texture();
Vector4 sequenceData = myTexture.SequenceData;
// Use sequenceData in shader or other rendering logic
// Note: The contents of sequenceData are generally not needed to be understood directly.