# ReadEntityIds(AnimationStream, NativeArray<PropertyStreamHandle>, NativeArray<EntityId>)

> Reads EntityId properties from the PropertyStreamHandle array (handles) and stores the EntityIds in the provided buffer. The buffer must have enough allocated space to store all values.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.Animations](/engine/6000.5/script-reference/unityengine/animations.md)
* **Assembly:** UnityEngine.AnimationModule

```csharp
public static void ReadEntityIds(AnimationStream stream, NativeArray<PropertyStreamHandle> handles, NativeArray<EntityId> buffer)
```

### Parameters

**** (\[AnimationStream]\(/engine/6000.5/script-reference/unityengine/animations/animationstream)): The animation stream.**** (\[NativeArray\<PropertyStreamHandle>]\(/engine/6000.5/script-reference/unity/collections/nativearray1)): The PropertyStreamHandle array to read from.**** (\[NativeArray\<EntityId>]\(/engine/6000.5/script-reference/unity/collections/nativearray1)): The buffer that stores EntityId values.
