Class SpriteAnimationFrame
Inheritance
SpriteAnimationFrame
Assembly: Glitch9.AIDevKit.PixelArt.dll
Syntax
[Serializable]
public sealed class SpriteAnimationFrame
Constructors
|
Edit this page
View Source
SpriteAnimationFrame(int, Texture2D, float)
Declaration
public SpriteAnimationFrame(int frameIndex, Texture2D texture, float duration)
Parameters
| Type |
Name |
Description |
| int |
frameIndex |
|
| Texture2D |
texture |
|
| float |
duration |
|
Properties
|
Edit this page
View Source
Duration
Declaration
public float Duration { get; }
Property Value
|
Edit this page
View Source
FrameIndex
Declaration
public int FrameIndex { get; }
Property Value
|
Edit this page
View Source
Texture
Declaration
public Texture2D Texture { get; }
Property Value
| Type |
Description |
| Texture2D |
|
Extension Methods