bool HasAnimatedSequences { get; set; }

book_4_sparkGenerated
code_blocksInput

Description

The HasAnimatedSequences property indicates whether the texture contains animated sequences. This is useful for determining if a texture is a sprite sheet or has multiple frames that can be animated over time.

Usage

Use the HasAnimatedSequences property to check if a texture has animated sequences. This can be particularly useful when working with sprite sheets or textures that are expected to have multiple frames for animation purposes.

Example

// Example of checking if a texture has animated sequences
Texture myTexture = Texture.Load("path/to/texture");

if (myTexture.HasAnimatedSequences)
{
    // Handle animated texture
    Console.WriteLine("This texture has animated sequences.");
}
else
{
    // Handle static texture
    Console.WriteLine("This texture does not have animated sequences.");
}