<!--
{
  "availability" : [
    "iOS: 8.0.0 - 26.0.0",
    "iPadOS: 8.0.0 - 26.0.0",
    "macCatalyst: 13.1.0 - 26.0.0",
    "macOS: 10.8.0 - 26.0.0",
    "tvOS: 9.0.0 - 26.0.0",
    "visionOS: 1.0.0 - 26.0.0",
    "watchOS: 3.0.0 - 26.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "SceneKit",
  "identifier" : "/documentation/SceneKit/SCNSceneSource/LoadingOption/assetDirectoryURLs",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "SceneKit"
    ],
    "preciseIdentifier" : "c:@SCNSceneSourceAssetDirectoryURLsKey"
  },
  "title" : "assetDirectoryURLs"
}
-->

# assetDirectoryURLs

Locations to use for resolving relative URLs to external resources.

```
static let assetDirectoryURLs: SCNSceneSource.LoadingOption
```

## Discussion

The value for this key is an <doc://com.apple.documentation/documentation/Foundation/NSArray> object containing one or more <doc://com.apple.documentation/documentation/Foundation/NSURL> objects, each of which references a directory.

A scene file may reference external resources, such as image files used as textures in material properties, using relative URL paths. When loading from a scene source, SceneKit first attempts to resolve these references relative to the directory containing the scene file. To search additional directories when loading, provide an array of URLs for this key and SceneKit searches them in order.

When working with a scene source constructed from an <doc://com.apple.documentation/documentation/Foundation/NSData> object, you can use this option to provide locations in the filesystem for loading external resources.

---

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)