AnimatedSprite Type
Runtime state for a playing animation.
This is a small struct designed for zero-allocation updates. Store this in your Elmish model for each animated entity.
Record fields
| Record Field |
Description
|
Full Usage:
AnimationIndex
Field type: int
|
|
|
|
Full Usage:
CurrentFrame
Field type: int
|
|
Full Usage:
Finished
Field type: bool
|
|
Full Usage:
FlipX
Field type: bool
|
|
Full Usage:
FlipY
Field type: bool
|
|
Full Usage:
Rotation
Field type: float32
|
|
Full Usage:
Scale
Field type: float32
|
|
|
|
Full Usage:
TimeInFrame
Field type: float32
|
|
Mibo.Raylib