<!--
{
  "availability" : [
    "macOS: 10.15.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/PointLightComponent/init(color:intensity:attenuationRadius:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:17RealityFoundation19PointLightComponentV0A3KitE5color9intensity17attenuationRadiusACSo7NSColorC_S2ftcfc::OverloadGroup"
  },
  "title" : "init(color:intensity:attenuationRadius:)"
}
-->

# init(color:intensity:attenuationRadius:)

Creates a point light component with a configuration.

```
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.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)