---
title: "init(color:intensity:attenuationRadius:attenuationFalloffExponent:)"
framework: realitykit
role: symbol
role_heading: Initializer
path: "realitykit/pointlightcomponent/init(color:intensity:attenuationradius:attenuationfalloffexponent:)"
---

# init(color:intensity:attenuationRadius:attenuationFalloffExponent:)

Creates a point light component with a configuration.

## Declaration

```swift
init(color: PointLightComponent.Color = .white, intensity: Float = 26963.76, attenuationRadius: Float = 10.0, attenuationFalloffExponent: Float = 2.0)
```

## Parameters

- `color`: The color of the light.
- `intensity`: The intensity of the light in lumens.
- `attenuationRadius`: The distance from the light source where its intensity reaches zero. Any objects at or beyond this distance do not receive illumination.
- `attenuationFalloffExponent`: An exponent value for the light’s intensity falloff-transition curve.
