Documentation

Unity Engine

Download Unity

Unity Engine

EntityIdChannel

An animation channel that holds an EntityId, such as a sprite or a material reference.
Read time 1 minuteLast updated 3 hours ago

Definition

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 to define an entity ID binding in a RigDefinition. A clip drives the channel when it has a curve for an object reference with the same EntityIdChannel.Id.
Two channels are equal when their
Id
is equal, whatever their
DefaultValue
.
Additional Resources: RigBuilder

Properties

Property

Description

DefaultValueThe EntityId the channel holds when no clip animates it.
IdThe hash that identifies the channel. Clips match their curves to the channels of a rig by this hash.

Static Methods

Method

Description

CreateCreates an EntityIdChannel from a transform path, a component type and an attribute name.