Class Texture.SpritesheetData
Namespace: ValveResourceFormat.ResourceTypes
Assembly: ValveResourceFormat.dll
Contains data for sprite sheet animations and sequences.
csharp
public class Texture.SpritesheetDataInheritance
object ← Texture.SpritesheetData
Properties
SequenceIdCount
Gets the number one past the largest sequence number any sequence answers to.
csharp
public int SequenceIdCount { get; }Property Value
int
Sequences
Gets or sets the array of animation sequences in this sprite sheet.
csharp
public Texture.SpritesheetData.Sequence[] Sequences { get; set; }Property Value
Texture.SpritesheetData.Sequence[]
Methods
GetSequenceIndex(int)
Gets the position in Texture.SpritesheetData.Sequences of the sequence a particle reaches with sequence number id, or -1 when no sequence answers to it.
csharp
public int GetSequenceIndex(int id)Parameters
id int
The sequence number.
Returns
int
The sequence's position, or -1.
Remarks
An unnamed sequence answers to its authored Texture.SpritesheetData.Sequence.Id, a sequence named with digits only answers to that number, and any other named sequence cannot be reached.

