---
title: EntityIdChannel
product: Unity Editor
version: '7000.0'
latest_version: '7000.0'
status: This page documents version 7000.0. The latest version is 7000.0.
canonical: https://docs.unity.com/en-us/engine/7000.0/script-reference/unity/animations/entityidchannel
latest_url: https://docs.unity.com/en-us/engine/7000.0/script-reference/unity/animations/entityidchannel.md
last_updated: 2026-11-30
generated_at: 2026-11-30T20:57:13.175Z
locale: en-us
---

# EntityIdChannel

> An animation channel that holds an EntityId, such as a sprite or a material reference.

## Definition

* **Type:** Struct
* **Namespace:** [Unity.Animations](/engine/7000.0/script-reference/unity/animations.md)
* **Assembly:** [UnityEngine.AnimationCoreModule](/engine/7000.0/script-reference/modules/unityengine-animationcoremodule.md)
* **Implements:** [IEquatable\<EntityIdChannel>](https://learn.microsoft.com/dotnet/api/system.iequatable-1)

```csharp
public struct EntityIdChannel : IEquatable<EntityIdChannel>
```

## Remarks

Use this channel to animate a property that references an object, such as a sprite or a material. Add it to a [RigBuilder](/engine/7000.0/script-reference/unity/animations/rigbuilder.md) to define an entity ID binding in a [RigDefinition](/engine/7000.0/script-reference/unity/animations/rigdefinition.md). A clip drives the channel when it has a curve for an object reference with the same [EntityIdChannel.Id](/engine/7000.0/script-reference/unity/animations/entityidchannel/id.md).

Two channels are equal when their `Id` is equal, whatever their `DefaultValue`.

Additional Resources: [RigBuilder](/engine/7000.0/script-reference/unity/animations/rigbuilder.md)

## Properties

| Property                                                                                         | Description                                                                                                         |
| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------- |
| [DefaultValue](/engine/7000.0/script-reference/unity/animations/entityidchannel/defaultvalue.md) | The [EntityId](/engine/7000.0/script-reference/unityengine/entityid.md) the channel holds when no clip animates it. |
| [Id](/engine/7000.0/script-reference/unity/animations/entityidchannel/id.md)                     | The hash that identifies the channel. Clips match their curves to the channels of a rig by this hash.               |

## Static Methods

| Method                                                                               | Description                                                                               |
| ------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------- |
| [Create](/engine/7000.0/script-reference/unity/animations/entityidchannel/create.md) | Creates an EntityIdChannel from a transform path, a component type and an attribute name. |
