Pular para o conteúdo
AstraDOCS

Astra.AnimationStateValue

Astra atual · C# · 06 out. 2026Referência de assinaturas

Estado de um clipe num componente (AnimationState da Unity), como a ABI o transporta.

Namespace: Astra · Assembly: Astra.Scripting · Tipo: Struct

readonly record struct Astra.AnimationStateValue

Estado de um clipe num componente (AnimationState da Unity), como a ABI o transporta.

Interfaces: System.IEquatable<Astra.AnimationStateValue>.

Membro Categoria
.ctor Method
Clip Property
Enabled Property
Layer Property
Length Property
Speed Property
Time Property
Weight Property
WrapMode Property

.ctor

public AnimationStateValue(Astra.AssetGuid Clip, bool Enabled, float Time, float Speed, float Weight, float Length, uint Layer, Astra.AnimationWrapMode WrapMode)

Estado de um clipe num componente (AnimationState da Unity), como a ABI o transporta.

Parâmetro Tipo Contrato
Clip Astra.AssetGuid
Enabled bool
Time float
Speed float
Weight float
Length float
Layer uint
WrapMode Astra.AnimationWrapMode

Clip

public Astra.AssetGuid Clip { get; init; }

Enabled

public bool Enabled { get; init; }

Layer

public uint Layer { get; init; }

Length

public float Length { get; init; }

Speed

public float Speed { get; init; }

Time

public float Time { get; init; }

Weight

public float Weight { get; init; }

WrapMode

public Astra.AnimationWrapMode WrapMode { get; init; }