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

# init(color:intensity:attenuationRadius:)

Creates a point light component with a configuration.

## Declaration

```swift
init(color: PointLightComponent.Color = .white, intensity: Float = 26963.76, attenuationRadius: Float = 10.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.
