<!--
{
  "availability" : [
    "iOS: 9.0.0 -",
    "iPadOS: 9.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.11.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ModelIO",
  "identifier" : "/documentation/ModelIO/MDLAreaLight/aspect",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Model I/O"
    ],
    "preciseIdentifier" : "c:objc(cs)MDLAreaLight(py)aspect"
  },
  "title" : "aspect"
}
-->

# aspect

The aspect ratio of the light’s shape.

```
var aspect: Float { get set }
```

## Discussion

If the light’s type is [`MDLLightType.discArea`](/documentation/ModelIO/MDLLightType/discArea),  [`MDLLightType.rectangularArea`](/documentation/ModelIO/MDLLightType/rectangularArea), or [`MDLLightType.superElliptical`](/documentation/ModelIO/MDLLightType/superElliptical), this property determines the lengths of the shape’s major and minor axes (longer and shorter dimensions) relative to the [`areaRadius`](/documentation/ModelIO/MDLAreaLight/areaRadius) property’s value.

---

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)