---
title: data
framework: scenekit
role: symbol
role_heading: Instance Property
path: scenekit/scnscenesource/data
---

# data

The data object from which the scene source loads scene content.

## Declaration

```swift
var data: Data? { get }
```

## Discussion

Discussion If the scene source was created using the sceneSourceWithData:options: or init(data:options:) method, this property’s value is the data from which the scene source was created. If the scene source was created from a scene file using the the sceneSourceWithURL:options: or init(url:options:) method, this property’s value is the data loaded from that URL at the time the scene source was created.

## See Also

### Getting Information about the Scene

- [url](scenekit/scnscenesource/url.md)
- [property(forKey:)](scenekit/scnscenesource/property(forkey:).md)
