AnimationInfo

Namespace: Murder.Core.Graphics
Assembly: Murder.dll

public sealed struct AnimationInfo

⭐ Constructors

public AnimationInfo()
public AnimationInfo(string name, float start)

Parameters
name string
start float

public AnimationInfo(string name)

Parameters
name string

⭐ Properties

Default

public readonly static AnimationInfo Default;

Returns
AnimationInfo

Duration

public float Duration { get; public set; }

Returns
float

Loop

public bool Loop { get; public set; }

Returns
bool

Name

public string Name { get; public set; }

Returns
string

OverrideCurrentTime

public float OverrideCurrentTime { get; public set; }

If different than -1, it will ignore AnimationInfo.UseScaledTime and use the time specified in this field.

Returns
float

Start

public float Start { get; public set; }

Returns
float

Ui

public readonly static AnimationInfo Ui;

Returns
AnimationInfo

UseScaledTime

public bool UseScaledTime { get; public set; }

Returns
bool