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

# init(_:)

Creates a color of emitted light based on the emissive color property from a physically based material.

## Declaration

```swift
init(_ value: PhysicallyBasedMaterial.EmissiveColor)
```

## Parameters

- `value`: The doc://com.apple.RealityKit/documentation/RealityKit/PhysicallyBasedMaterial/emissiveColor-swift.property property from a doc://com.apple.RealityKit/documentation/RealityKit/PhysicallyBasedMaterial.

## See Also

### Creating an emissive color object

- [init(color:texture:)](realitykit/custommaterial/emissivecolor-swift.struct/init(color:texture:)-xkh3.md)
- [init(color:texture:)](realitykit/custommaterial/emissivecolor-swift.struct/init(color:texture:)-81kgh.md)
