---
title: "init(_:)"
framework: realitykit
role: symbol
role_heading: Initializer
path: "realitykit/physicallybasedmaterial/basecolor-swift.struct/init(_:)"
---

# init(_:)

Creates a base color object from a custom material’s base color property.

## Declaration

```swift
init(_ value: CustomMaterial.BaseColor)
```

## Parameters

- `value`: The custom material’s base color property.

## See Also

### Creating a base color object

- [init(tint:texture:)](realitykit/physicallybasedmaterial/basecolor-swift.struct/init(tint:texture:)-2wriz.md)
- [init(tint:texture:)](realitykit/physicallybasedmaterial/basecolor-swift.struct/init(tint:texture:)-5jeqr.md)
