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 part of an animation or sprite sheet that includes multiple frames or sequences.

Usage

Use the HasAnimatedSequences property to check if a texture has any animated sequences. This can be particularly useful when working with sprite sheets or animated textures, allowing you to handle them appropriately in your rendering logic.

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.");
}