GetEntityIdsFromNodes(ReadOnlySpan<HierarchyNode>, Span<EntityId>)
Gets the entity ids corresponding to the given hierarchy nodes.
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Method
- Namespace: Unity.Hierarchy
- Assembly: UnityEngine.HierarchyCoreModule
public int GetEntityIdsFromNodes(ReadOnlySpan<HierarchyNode> nodes, Span<EntityId> outEntityIds)
Parameters
The hierarchy nodes to look up.
The span to fill with entity ids. Must have the same length as .
nodesReturns
Type | Description |
|---|---|
| int | The number of slots that could not be resolved by any handler. |