Documentation

Unity Engine

Download Unity

Unity Engine

SetIntWeight(int, float)

Sets the weight of a specific integer.
Read time 1 minuteLast updated 4 hours ago

Definition

public void SetIntWeight(int index, float weight)

Parameters

index

The index of the integer to set the weight of.

weight

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