--- title: "Astra.GuiControlSettings" 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-guicontrolsettings/ --- # Astra.GuiControlSettings Struct da API C# da Astra. 15 membros declarados neste snapshot. **Namespace:** `Astra` · **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 record struct Astra.GuiControlSettings ``` **Interfaces:** `System.IEquatable`. ## Membros | Membro | Categoria | |---|---| | [.ctor](#member-470b7b58f15dad13) | Method | | [Axis](#member-4371af1be648c89a) | Property | | [BaseRadius](#member-8145ac698f001826) | Property | | [Deadzone](#member-1655ddc5595b1a5d) | Property | | [Default](#member-81370696472fb35c) | Property | | [Exponent](#member-95ff5a6c9aa0ad5d) | Property | | [Gate](#member-85b1175514df3e07) | Property | | [InputRadius](#member-88718089a36cb0d1) | Property | | [KnobRadius](#member-a9b2966172dd63e9) | Property | | [Mode](#member-e2ca6580ce8ae073) | Property | | [OuterDeadzone](#member-68961cd6a425b287) | Property | | [ReturnSeconds](#member-f703e04900144ab1) | Property | | [Sensitivity](#member-0802de94fc02898c) | Property | | [ShowBase](#member-b1c0f616591b77db) | Property | | [ShowKnob](#member-50de30e174f69bf2) | Property |

.ctor

```csharp public GuiControlSettings(Astra.GuiStickMode Mode, Astra.GuiStickAxis Axis, Astra.GuiStickGate Gate, float InputRadius, float BaseRadius, float KnobRadius, float Deadzone, float OuterDeadzone, float Exponent, float Sensitivity, float ReturnSeconds, bool ShowBase, bool ShowKnob) ``` | Parâmetro | Tipo | Contrato | |---|---|---| | `Mode` | `Astra.GuiStickMode` | | | `Axis` | `Astra.GuiStickAxis` | | | `Gate` | `Astra.GuiStickGate` | | | `InputRadius` | `float` | | | `BaseRadius` | `float` | | | `KnobRadius` | `float` | | | `Deadzone` | `float` | | | `OuterDeadzone` | `float` | | | `Exponent` | `float` | | | `Sensitivity` | `float` | | | `ReturnSeconds` | `float` | | | `ShowBase` | `bool` | | | `ShowKnob` | `bool` | |

Axis

```csharp public Astra.GuiStickAxis Axis { get; init; } ```

BaseRadius

```csharp public float BaseRadius { get; init; } ```

Deadzone

```csharp public float Deadzone { get; init; } ```

Default

```csharp public static Astra.GuiControlSettings Default { get; } ```

Exponent

```csharp public float Exponent { get; init; } ```

Gate

```csharp public Astra.GuiStickGate Gate { get; init; } ```

InputRadius

```csharp public float InputRadius { get; init; } ```

KnobRadius

```csharp public float KnobRadius { get; init; } ```

Mode

```csharp public Astra.GuiStickMode Mode { get; init; } ```

OuterDeadzone

```csharp public float OuterDeadzone { get; init; } ```

ReturnSeconds

```csharp public float ReturnSeconds { get; init; } ```

Sensitivity

```csharp public float Sensitivity { get; init; } ```

ShowBase

```csharp public bool ShowBase { get; init; } ```

ShowKnob

```csharp public bool ShowKnob { get; init; } ```