Show / Hide Table of Contents

Class SpriteAnimationStep

A single step in a spritesheet animation.

Inheritance
System.Object
SpriteAnimationStep
Namespace: BonEngineSharp.Framework
Assembly: BonEngineSharp.dll
Syntax
public sealed class SpriteAnimationStep : ValueType

Fields

Duration

For how long, in seconds, we need to display this animation step.

Declaration
public float Duration
Field Value
Type Description
System.Single

Index

The index of the sprite in the spritesheet during this animation step.

Declaration
public PointI Index
Field Value
Type Description
PointI

Tag

Animation step optional tag.

Declaration
public string Tag
Field Value
Type Description
System.String
Back to top Generated by DocFX