--- title: "Astra.Components.PathComponent" version: snapshot-2026-10-06 engineGeneration: astra-current language: C# status: semantic-reference runtimeVerified: false platformEvidence: [] url: https://astraengine.com.br/pt-br/snapshot-2026-10-06/api/astra-components-pathcomponent/ --- # Astra.Components.PathComponent Path: Curva Bézier local com pontos persistentes. Família Lógica · Caminhos. **Namespace:** `Astra.Components` · **Assembly:** `Astra.Scripting` · **Tipo:** Struct :::note[Sobre esta referência] Assinaturas extraídas semanticamente com Roslyn/MSBuild. Isso confirma a superfície do código deste snapshot; não comprova execução no Android. As descrições vêm dos comentários da API. Membros sem explicação ainda exigem revisão editorial. ::: ## Declaração ```csharp readonly struct Astra.Components.PathComponent ``` Path: Curva Bézier local com pontos persistentes. Família Lógica · Caminhos. Referência estudada: https://docs.godotengine.org/en/4.5/classes/class_path3d.html **Interfaces:** `Astra.Components.IComponentFacade`. Consulte também [Path](/pt-br/snapshot-2026-10-06/componentes/astra-path/) para propriedades, valores iniciais, requisitos e edição em Play. ## Membros | Membro | Categoria | |---|---| | [.ctor](#member-6d34a114e22e5fe3) | Method | | [GetPointInX](#member-211c40ed3e41749e) | Method | | [GetPointInY](#member-15f736e42e173e31) | Method | | [GetPointInZ](#member-87aa94f561521d3c) | Method | | [GetPointOutX](#member-69ebf5c0b46c74d5) | Method | | [GetPointOutY](#member-ac04eb84358d1f0b) | Method | | [GetPointOutZ](#member-5c5afeaf623f4ab0) | Method | | [GetPointPositionX](#member-fb97eabe66fe9a88) | Method | | [GetPointPositionY](#member-c8e62341bf240c6b) | Method | | [GetPointPositionZ](#member-03976960ed23d21f) | Method | | [GetPointRoll](#member-002a475bb6484346) | Method | | [Remove](#member-432f071aab61e420) | Method | | [SetPointInX](#member-a8661b72d1d6524c) | Method | | [SetPointInY](#member-5c030ef67b3c819a) | Method | | [SetPointInZ](#member-7b9d6fea0333fadf) | Method | | [SetPointOutX](#member-185d442f8585402b) | Method | | [SetPointOutY](#member-0de1b72218c0e7b7) | Method | | [SetPointOutZ](#member-3990d368b4472de2) | Method | | [SetPointPositionX](#member-870332514ff8e526) | Method | | [SetPointPositionY](#member-5d0fce14e77116fc) | Method | | [SetPointPositionZ](#member-ee03e4a68a5bbda8) | Method | | [SetPointRoll](#member-74f37872ca866e85) | Method | | [Wrap](#member-94da01a70c0a3d9a) | Method | | [Closed](#member-c07b3c9a010e7765) | Property | | [Component](#member-5c0aad7accb87075) | Property | | [InstanceId](#member-c2d891bb3c39cfd2) | Property | | [IsAlive](#member-7de6b0840c37df73) | Property | | [Object](#member-041013319e0b09e4) | Property | | [TypeId](#member-c734b4408300b39e) | Property | | [Up](#member-c9b2a307041055d9) | Property |

.ctor

```csharp public PathComponent(Astra.Component component) ``` | Parâmetro | Tipo | Contrato | |---|---|---| | `component` | `Astra.Component` | |

GetPointInX

```csharp public float GetPointInX(uint slot) ``` Entrada X (u). Valor por slot | Parâmetro | Tipo | Contrato | |---|---|---| | `slot` | `uint` | |

GetPointInY

```csharp public float GetPointInY(uint slot) ``` Entrada Y (u). Valor por slot | Parâmetro | Tipo | Contrato | |---|---|---| | `slot` | `uint` | |

GetPointInZ

```csharp public float GetPointInZ(uint slot) ``` Entrada Z (u). Valor por slot | Parâmetro | Tipo | Contrato | |---|---|---| | `slot` | `uint` | |

GetPointOutX

```csharp public float GetPointOutX(uint slot) ``` Saída X (u). Valor por slot | Parâmetro | Tipo | Contrato | |---|---|---| | `slot` | `uint` | |

GetPointOutY

```csharp public float GetPointOutY(uint slot) ``` Saída Y (u). Valor por slot | Parâmetro | Tipo | Contrato | |---|---|---| | `slot` | `uint` | |

GetPointOutZ

```csharp public float GetPointOutZ(uint slot) ``` Saída Z (u). Valor por slot | Parâmetro | Tipo | Contrato | |---|---|---| | `slot` | `uint` | |

GetPointPositionX

```csharp public float GetPointPositionX(uint slot) ``` Posição X (u). Valor por slot | Parâmetro | Tipo | Contrato | |---|---|---| | `slot` | `uint` | |

GetPointPositionY

```csharp public float GetPointPositionY(uint slot) ``` Posição Y (u). Valor por slot | Parâmetro | Tipo | Contrato | |---|---|---| | `slot` | `uint` | |

GetPointPositionZ

```csharp public float GetPointPositionZ(uint slot) ``` Posição Z (u). Valor por slot | Parâmetro | Tipo | Contrato | |---|---|---| | `slot` | `uint` | |

GetPointRoll

```csharp public float GetPointRoll(uint slot) ``` Roll (°). Valor por slot | Parâmetro | Tipo | Contrato | |---|---|---| | `slot` | `uint` | |

Remove

```csharp public void Remove() ``` Remove a instância pelo ciclo nativo; dependências e ownership podem recusar.

SetPointInX

```csharp public void SetPointInX(uint slot, float value) ``` | Parâmetro | Tipo | Contrato | |---|---|---| | `slot` | `uint` | | | `value` | `float` | |

SetPointInY

```csharp public void SetPointInY(uint slot, float value) ``` | Parâmetro | Tipo | Contrato | |---|---|---| | `slot` | `uint` | | | `value` | `float` | |

SetPointInZ

```csharp public void SetPointInZ(uint slot, float value) ``` | Parâmetro | Tipo | Contrato | |---|---|---| | `slot` | `uint` | | | `value` | `float` | |

SetPointOutX

```csharp public void SetPointOutX(uint slot, float value) ``` | Parâmetro | Tipo | Contrato | |---|---|---| | `slot` | `uint` | | | `value` | `float` | |

SetPointOutY

```csharp public void SetPointOutY(uint slot, float value) ``` | Parâmetro | Tipo | Contrato | |---|---|---| | `slot` | `uint` | | | `value` | `float` | |

SetPointOutZ

```csharp public void SetPointOutZ(uint slot, float value) ``` | Parâmetro | Tipo | Contrato | |---|---|---| | `slot` | `uint` | | | `value` | `float` | |

SetPointPositionX

```csharp public void SetPointPositionX(uint slot, float value) ``` | Parâmetro | Tipo | Contrato | |---|---|---| | `slot` | `uint` | | | `value` | `float` | |

SetPointPositionY

```csharp public void SetPointPositionY(uint slot, float value) ``` | Parâmetro | Tipo | Contrato | |---|---|---| | `slot` | `uint` | | | `value` | `float` | |

SetPointPositionZ

```csharp public void SetPointPositionZ(uint slot, float value) ``` | Parâmetro | Tipo | Contrato | |---|---|---| | `slot` | `uint` | | | `value` | `float` | |

SetPointRoll

```csharp public void SetPointRoll(uint slot, float value) ``` | Parâmetro | Tipo | Contrato | |---|---|---| | `slot` | `uint` | | | `value` | `float` | |

Wrap

```csharp public static Astra.Components.PathComponent Wrap(Astra.Component component) ``` | Parâmetro | Tipo | Contrato | |---|---|---| | `component` | `Astra.Component` | |

Closed

```csharp public bool Closed { get; set; } ``` Fechado

Component

```csharp public Astra.Component Component { get; } ```

InstanceId

```csharp public ulong InstanceId { get; } ```

IsAlive

```csharp public bool IsAlive { get; } ```

Object

```csharp public Astra.GameObject Object { get; } ```

TypeId

```csharp public static string TypeId { get; } ```

Up

```csharp public System.Numerics.Vector3 Up { get; set; } ``` Up inicial local