Documentation

Unity Engine

Download Unity

Unity Engine

SetEntityId(int, in EntityId)

Sets the entity ID value at the specified index.
Read time 1 minuteLast updated 4 hours ago

Definition

SetEntityId(int, EntityId)

public void SetEntityId(int index, in EntityId entityId)

Parameters

index

The index of the entity ID channel to write.

entityId

The entity ID to store in the channel.

Remarks

The index must be at least 0 and less than AnimationStream.EntityIdCount.