Documentation

Unity Engine

Download Unity

Unity Engine

SetEntityIdWeight(int, float)

Sets the weight of the specified entity ID channel.
Read time 1 minuteLast updated 4 hours ago

Definition

public void SetEntityIdWeight(int index, float weight)

Parameters

index

The index of the entity ID channel to set the weight of.

weight

The weight to set. The value is clamped to the range from 0 to 1.

Remarks

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