---
title: Lighting Attribute Keys
framework: scenekit
role: collectionGroup
role_heading: API Collection
path: scenekit/lighting-attribute-keys
---

# Lighting Attribute Keys

Keys for specifying the behavior of a light using the attribute(forKey:) and setAttribute(_:forKey:) methods.

## Overview

Overview You can also get, set, or animate changes to the values of lighting attributes using Key-value coding with the keys listed above. You provide or retrieve a value for each key as an NSNumber object containing the appropriate numeric type.

## Topics

### Constants

- [SCNLightAttenuationStartKey](scenekit/scnlightattenuationstartkey.md)
- [SCNLightAttenuationEndKey](scenekit/scnlightattenuationendkey.md)
- [SCNLightAttenuationFalloffExponentKey](scenekit/scnlightattenuationfalloffexponentkey.md)
- [SCNLightSpotInnerAngleKey](scenekit/scnlightspotinneranglekey.md)
- [SCNLightSpotOuterAngleKey](scenekit/scnlightspotouteranglekey.md)
- [SCNLightShadowFarClippingKey](scenekit/scnlightshadowfarclippingkey.md)
- [SCNLightShadowNearClippingKey](scenekit/scnlightshadownearclippingkey.md)

## See Also

### Managing Light Attributes

- [name](scenekit/scnlight/name.md)
- [attribute(forKey:)](scenekit/scnlight/attribute(forkey:).md)
- [setAttribute(_:forKey:)](scenekit/scnlight/setattribute(_:forkey:).md)
