Skip to content

AnimationClip

namespace Griff.Scenes;
public struct AnimationClip

One named animation of an Animation’s Clips.

public bool Backward { get; init; }

Whether it plays its frames from the last down to the first (written “3-0”).

public int FirstFrame { get; init; }
public int FrameCount { get; init; }
public float? FramesPerSecond { get; init; }

The clip’s own speed, or null to use the animation’s.

public bool? Loop { get; init; }

Whether the clip loops, or null to use the animation’s Loop.

public string Name { get; init; }
public void Deconstruct(out string Name, out int FirstFrame, out int FrameCount, out float? FramesPerSecond, out bool? Loop, out bool Backward)
public override bool Equals(object obj)
public bool Equals(AnimationClip other)
public override int GetHashCode()
public override string ToString()