-
Notifications
You must be signed in to change notification settings - Fork 0
SpriteFrames LoopModeEnum
Home | API by Category | Complete API Index | API Compatibility
| Field | Value |
|---|---|
| Full name | Electron2D.SpriteFrames.LoopModeEnum |
| Namespace | Electron2D |
| Kind | enum |
| Category | Animation and Tweening |
Describes how an animation loops at its boundaries.
public enum Electron2D.SpriteFrames.LoopModeEnum : System.IComparable, System.IConvertible, System.IFormattable, System.ISpanFormattableProfile: Electron2D 0.1.0 2D
Status: Partial / Not verified
Out of profile: yes
Godot reference: SpriteFrames.LoopMode
Loop mode values for none, linear and pingpong playback.
The values are used by Electron2D.AnimatedSprite2D when playback
reaches the first or last frame of an animation.
This enum is available since Electron2D 0.1.0 Preview.
| Member | Kind | Summary |
|---|---|---|
Linear |
Enum value | The animation wraps to the opposite end and continues in the same direction. |
None |
Enum value | The animation stops when playback reaches the first or last frame. |
Pingpong |
Enum value | The animation changes direction each time playback reaches the first or last frame. |
Kind: Enum value
public const Electron2D.SpriteFrames.LoopModeEnum LinearThe animation wraps to the opposite end and continues in the same direction.
Use this value with APIs that accept LoopModeEnum.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.SpriteFrames.LoopModeEnum
Kind: Enum value
public const Electron2D.SpriteFrames.LoopModeEnum NoneThe animation stops when playback reaches the first or last frame.
Use this value with APIs that accept LoopModeEnum.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.SpriteFrames.LoopModeEnum
Kind: Enum value
public const Electron2D.SpriteFrames.LoopModeEnum PingpongThe animation changes direction each time playback reaches the first or last frame.
Use this value with APIs that accept LoopModeEnum.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.SpriteFrames.LoopModeEnum
Electron2D 0.1.0 Preview API reference. Generated from 175 public runtime types.