Pular para o conteúdo
AstraDOCS

Astra.Components.PathFollow

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

Path Follow: Percorre curva em distância mundial e orienta +Z. Família Lógica · Caminhos.

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

readonly struct Astra.Components.PathFollow

Path Follow: Percorre curva em distância mundial e orienta +Z. Família Lógica · Caminhos.

Referência estudada: https://docs.godotengine.org/en/4.5/classes/class_pathfollow3d.html

Interfaces: Astra.Components.IComponentFacade<Astra.Components.PathFollow>.

Consulte também Path Follow para propriedades, valores iniciais, requisitos e edição em Play.

Membro Categoria
.ctor Method
Playing Method
Progress Method
Remove Method
Restart Method
Stop Method
Wrap Method
Autoplay Property
Backwards Property
Component Property
Duration Property
Enabled Property
InstanceId Property
IsAlive Property
Loop Property
Mode Property
Object Property
OffsetX Property
OffsetY Property
OffsetZ Property
Orient Property
ProgressDistance Property
Speed Property
Target Property
TypeId Property

.ctor

public PathFollow(Astra.Component component)
Parâmetro Tipo Contrato
component Astra.Component

Playing

public bool Playing()

Em movimento. Verdadeiro enquanto avança

Executado no mundo de Play; fora dele lança WorldException NotRunning.

Progress

public double Progress()

Progresso. Distância percorrida no mundo

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. Volta à distância inicial e avança

Executado no mundo de Play; fora dele lança WorldException NotRunning.

Stop

public void Stop()

Parar. Congela pose e progresso

Executado no mundo de Play; fora dele lança WorldException NotRunning.

Wrap

public static Astra.Components.PathFollow Wrap(Astra.Component component)
Parâmetro Tipo Contrato
component Astra.Component

Autoplay

public bool Autoplay { get; set; }

Iniciar no Play

Backwards

public bool Backwards { get; set; }

Sentido inverso

Component

public Astra.Component Component { get; }

Duration

public float Duration { get; set; }

Duração (s)

Faixa válida: 0.001 a 100000.

Enabled

public bool Enabled { get; set; }

Ativo

InstanceId

public ulong InstanceId { get; }

IsAlive

public bool IsAlive { get; }

Loop

public bool Loop { get; set; }

Repetir percurso

Mode

public Astra.Components.PathFollow.ModeOption Mode { get; set; }

Avanço

Object

public Astra.GameObject Object { get; }

OffsetX

public float OffsetX { get; set; }

Deslocamento lateral (u)

Faixa válida: -10000 a 10000.

OffsetY

public float OffsetY { get; set; }

Deslocamento vertical (u)

Faixa válida: -10000 a 10000.

OffsetZ

public float OffsetZ { get; set; }

Deslocamento tangente (u)

Faixa válida: -10000 a 10000.

Orient

public bool Orient { get; set; }

Orientar +Z

ProgressDistance

public float ProgressDistance { get; set; }

Distância inicial (u)

Faixa válida: 0 a 1000000.

Speed

public float Speed { get; set; }

Velocidade (u/s)

Faixa válida: 0 a 100000.

Target

public Astra.ObjectReference Target { get; set; }

Caminho

TypeId

public static string TypeId { get; }