Astra.Components.TransformTween
Transform Tween: Interpola canais locais com espera, curva e repetição. Família Lógica · Tempo.
Namespace: Astra.Components · Assembly: Astra.Scripting · Tipo: Struct
Declaração
Seção intitulada “Declaração”readonly struct Astra.Components.TransformTweenTransform Tween: Interpola canais locais com espera, curva e repetição. Família Lógica · Tempo.
Referência estudada: https://docs.godotengine.org/en/4.5/classes/class_tween.html
Interfaces: Astra.Components.IComponentFacade<Astra.Components.TransformTween>.
Consulte também Transform Tween para propriedades, valores iniciais, requisitos e edição em Play.
Membros
Seção intitulada “Membros”| Membro | Categoria |
|---|---|
| .ctor | Method |
| Cancel | Method |
| Elapsed | Method |
| OnCompleted | Method |
| Pause | Method |
| Remove | Method |
| Restart | Method |
| Resume | Method |
| Wrap | Method |
| Autoplay | Property |
| Component | Property |
| Delay | Property |
| Duration | Property |
| Easing | Property |
| Enabled | Property |
| FinishedAction | Property |
| FinishedTarget | Property |
| IgnoreTimeScale | Property |
| InstanceId | Property |
| IsAlive | Property |
| Loops | Property |
| Object | Property |
| Pingpong | Property |
| Position | Property |
| PositionDestination | Property |
| Relative | Property |
| Rotation | Property |
| RotationDestination | Property |
| Scale | Property |
| ScaleDestination | Property |
| TypeId | Property |
.ctor
public TransformTween(Astra.Component component)| Parâmetro | Tipo | Contrato |
|---|---|---|
component |
Astra.Component |
Cancel
public void Cancel()Cancelar. Interrompe sem voltar à pose inicial
Executado no mundo de Play; fora dele lança WorldException NotRunning.
Elapsed
public double Elapsed()Decorrido. Segundos desde o início, incluindo o atraso
Executado no mundo de Play; fora dele lança WorldException NotRunning.
OnCompleted
public Astra.ComponentSubscription OnCompleted(Astra.Behavior owner, System.Action<Astra.ComponentEventArgs> handler)Concluiu. Emitido uma vez quando as repetições finitas terminam, depois da pose final
| Parâmetro | Tipo | Contrato |
|---|---|---|
owner |
Astra.Behavior |
|
handler |
System.Action<Astra.ComponentEventArgs> |
Pause
public void Pause()Pausar. Congela o progresso
Executado no mundo de Play; fora dele lança WorldException NotRunning.
Remove
public void Remove()Remove a instância pelo ciclo nativo; dependências e ownership podem recusar.
Restart
public void Restart()Reiniciar. Recomeça da pose atual, conservando a pausa
Executado no mundo de Play; fora dele lança WorldException NotRunning.
Resume
public void Resume()Retomar. Continua o progresso pausado
Executado no mundo de Play; fora dele lança WorldException NotRunning.
Wrap
public static Astra.Components.TransformTween Wrap(Astra.Component component)| Parâmetro | Tipo | Contrato |
|---|---|---|
component |
Astra.Component |
Autoplay
public bool Autoplay { get; set; }Iniciar no Play
Component
public Astra.Component Component { get; }Delay
public float Delay { get; set; }Espera (s)
Faixa válida: 0 a 36000.
Duration
public float Duration { get; set; }Duração (s)
Faixa válida: 0.001 a 36000.
Easing
public Astra.Components.TransformTween.EasingOption Easing { get; set; }Curva
Enabled
public bool Enabled { get; set; }Ativo
FinishedAction
public Astra.Components.TransformTween.FinishedActionOption FinishedAction { get; set; }Ao concluir. Executa depois da pose final de todos os ciclos finitos; cancelar ou ciclo infinito não dispara
FinishedTarget
public Astra.ObjectReference FinishedTarget { get; set; }Receptor. Referência persistente remapeada ao clonar; controla activeSelf do receptor
IgnoreTimeScale
public bool IgnoreTimeScale { get; set; }Ignorar escala de tempo. Usa o intervalo não escalado aceito; pausa editorial interrompe ambos os modos
InstanceId
public ulong InstanceId { get; }IsAlive
public bool IsAlive { get; }Loops
public Astra.Components.TransformTween.LoopsOption Loops { get; set; }Ciclos
Object
public Astra.GameObject Object { get; }Pingpong
public bool Pingpong { get; set; }Ida e volta
Position
public bool Position { get; set; }Mover
PositionDestination
public System.Numerics.Vector3 PositionDestination { get; set; }Posição destino
Relative
public bool Relative { get; set; }Destino relativo
Rotation
public bool Rotation { get; set; }Girar
RotationDestination
public System.Numerics.Vector3 RotationDestination { get; set; }Rotação destino
Scale
public bool Scale { get; set; }Escalar
ScaleDestination
public System.Numerics.Vector3 ScaleDestination { get; set; }Escala destino
TypeId
public static string TypeId { get; }