Struct · Ara
Flipbook
Tick-driven flipbook state, wholly contained in an ECS component.
public struct Flipbook : IComponent<Flipbook>Properties
TypeIndex
public static uint TypeIndex { get; }Stable engine component index.
Fields
Frames
public FlipbookFrame[] Frames;Ordered clip frames.
Default: [].
StartTick
public ulong StartTick;Clip's start tick, preserved through snapshots.
Default: 0.
Looping
public bool Looping;Repeat rather than hold the final frame.
Default: false.
Methods
Access
public static ref Flipbook Access(Entity entity, bool write);No description yet.
Insert
public static void Insert(in Commands commands, Entity entity, in Flipbook value);No description yet.
Contains
public static bool Contains(Entity entity);No description yet.