---
title: "init(environmentLightingWeight:)"
framework: realitykit
role: symbol
role_heading: Initializer
path: "realitykit/environmentlightingconfigurationcomponent/init(environmentlightingweight:)"
---

# init(environmentLightingWeight:)

Creates an environment-lighting configuration component.

## Declaration

```swift
init(environmentLightingWeight: Float = 1.0)
```

## Parameters

- `environmentLightingWeight`: A floating-point value in the range [0.0, 1.0], where 0.0 indicates no environment-lighting contribution and 1.0 indicates full environment-lighting contribution.
