---
title: float2Value
framework: modelio
role: symbol
role_heading: Instance Property
path: modelio/mdlmaterialproperty/float2value
---

# float2Value

The 2-component floating-point vector value for the material property.

## Declaration

```swift
var float2Value: vector_float2 { get set }
```

## See Also

### Working with a Material Property’s Value

- [stringValue](modelio/mdlmaterialproperty/stringvalue.md)
- [urlValue](modelio/mdlmaterialproperty/urlvalue.md)
- [textureSamplerValue](modelio/mdlmaterialproperty/texturesamplervalue.md)
- [color](modelio/mdlmaterialproperty/color.md)
- [floatValue](modelio/mdlmaterialproperty/floatvalue.md)
- [float3Value](modelio/mdlmaterialproperty/float3value.md)
- [float4Value](modelio/mdlmaterialproperty/float4value.md)
- [matrix4x4](modelio/mdlmaterialproperty/matrix4x4.md)
