# WriteEntityIds(AnimationStream, NativeArray<PropertyStreamHandle>, NativeArray<EntityId>, bool)

> Write EntityIds from buffer to property stream handles.

## Definition

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

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

### Parameters

**** (\[AnimationStream]\(/engine/6000.6/script-reference/unityengine/animations/animationstream)): The animation stream.**** (\[NativeArray\<PropertyStreamHandle>]\(/engine/6000.6/script-reference/unity/collections/nativearray1)): The PropertyStreamHandle array to write to.**** (\[NativeArray\<EntityId>]\(/engine/6000.6/script-reference/unity/collections/nativearray1)): The buffer of EntityId properties.**** (\[bool]\(https\://learn.microsoft.com/dotnet/api/system.boolean)): Set to true to write new values if the matching stream handles have not already been modified.
