<!--
{
  "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/identifiersOfEntries(withClass:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "SceneKit"
    ],
    "preciseIdentifier" : "c:objc(cs)SCNSceneSource(im)identifiersOfEntriesWithClass:"
  },
  "title" : "identifiersOfEntries(withClass:)"
}
-->

# identifiersOfEntries(withClass:)

Returns the identifiers for all objects in the scene source of the specified class.

```
func identifiersOfEntries(withClass entryClass: AnyClass) -> [String]
```

## Parameters

`entryClass`

The class of objects to find identifiers for.

## Return Value

An array of <doc://com.apple.documentation/documentation/Foundation/NSString> objects, each the unique identifier of an object in the scene source.

## Discussion

SceneKit recognizes objects of the following classes in scene files:

- <doc://com.apple.documentation/documentation/QuartzCore/CAAnimation>
- <doc://com.apple.documentation/documentation/AppKit/NSImage>
- [`SCNCamera`](/documentation/SceneKit/SCNCamera)
- [`SCNGeometry`](/documentation/SceneKit/SCNGeometry)
- [`SCNLight`](/documentation/SceneKit/SCNLight)
- [`SCNMaterial`](/documentation/SceneKit/SCNMaterial)
- [`SCNMorpher`](/documentation/SceneKit/SCNMorpher)
- [`SCNNode`](/documentation/SceneKit/SCNNode)
- [`SCNScene`](/documentation/SceneKit/SCNScene)
- [`SCNSkinner`](/documentation/SceneKit/SCNSkinner)

Each object in a scene file has an identifier that is unique for its class. These identifiers are determined by the software that created the scene file—for example, they may be descriptive names assigned by an artist using 3D authoring tools. For SceneKit classes with a [`name`](/documentation/SceneKit/SCNNode/name) property (such as nodes and geometries), the name of an object loaded from a scene file is based on its identifier in the scene file.

Use this method to enumerate all objects in a scene file of a specified class without loading the objects and their content. For example, the following code finds the identifiers for all animations stored in a scene source:

```objc
NSArray *animations = [sceneSource identifiersOfEntriesWithClass:[CAAnimation class]];
```

## See Also

[`entryWithIdentifier:withClass:`](/documentation/SceneKit/SCNSceneSource/entryWithIdentifier:withClass:)

Loads and returns a specific object in the scene source.



---

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)