---
title: stringValue
framework: modelio
role: symbol
role_heading: Instance Property
path: modelio/mdlmaterialproperty/stringvalue
---

# stringValue

The string value for the material.

## Declaration

```swift
var stringValue: String? { get set }
```

## Discussion

Discussion The meaning of a string value depends on the renderer (or other software component) processing the material. For example, a string value might be treated as the name of a texture image to be loaded from a default path.

## See Also

### Working with a Material Property’s Value

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