# MaterialParameter

> Aego 0.12.5 · development; docs build `4a32b816933e02930662f6a443cb25abe6050d090c55e237cbff5c44ae9b25f8`. [Build manifest](/docs-build.json).

```
struct engine.MaterialParameter
```

Stores one explicit, typed per-node material override. This is a data record inside MaterialOverride, not an addable component or a material asset.

## Boolean

```
field Boolean bool
```

Stores the explicit true/false value for a boolean parameter; the parameter's Kind determines whether this field is used.

## Integer

```
field Integer int32
```

Stores an integer override as an exact signed 32-bit value instead of converting it through floating-point lanes.

## Kind

```
field Kind engine.MaterialParameterKind
```

Preserves the parameter's declared type so removal or a later type change cannot silently reinterpret the saved value.

## Name

```
field Name string
```

Identifies the declared shader parameter by its exact name, not its position in the material layout.

## Value

```
field Value vec4
```

Stores floating-point, vector or colour lanes according to Kind. Integer and Boolean keep their values in separate fields.
