Astra.AnimationStateValue
Estado de um clipe num componente (AnimationState da Unity), como a ABI o transporta.
Namespace: Astra · Assembly: Astra.Scripting · Tipo: Struct
Declaração
Seção intitulada “Declaração”readonly record struct Astra.AnimationStateValueEstado de um clipe num componente (AnimationState da Unity), como a ABI o transporta.
Interfaces: System.IEquatable<Astra.AnimationStateValue>.
Membros
Seção intitulada “Membros”| 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; }