Class Animation
Handles animations
Inheritance
System.Object
Animation
Namespace: Mannequin.Bindings
Assembly: Collapse.dll
Syntax
public class Animation : object
Constructors
Animation(String)
Find a preloaded animation by ID
Declaration
public Animation(string id)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | id |
Properties
ID
The ID of this animation as it appears in game data
Declaration
public string ID { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Loop
Whether this animation should loop
Declaration
public bool Loop { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Name
The name of this Animation (note: this is not the same as the ID)
Declaration
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Texture
The Texture that this Animation is currently showing
Declaration
public Texture Texture { get; }
Property Value
| Type | Description |
|---|---|
| Texture |
Methods
Reset()
Reset this animation, i.e. start it from the beginning
Declaration
public void Reset()