# floatValue

> Float value of the property.

## Definition

* **Type:** Property
* **Namespace:** [UnityEditor](/engine/6000.0/script-reference/unityeditor.md)
* **Assembly:** UnityEditor

```csharp
public float floatValue { get; set; }
```

### Remarks

Setting a new value will apply it to all material [MaterialProperty.targets](/engine/6000.0/script-reference/unityeditor/materialproperty/targets.md), and will automatically record an undo operation.

Additional Resources: [MaterialProperty.type](/engine/6000.0/script-reference/unityeditor/materialproperty/type.md), [MaterialEditor](/engine/6000.0/script-reference/unityeditor/materialeditor.md).
