Documentation

Unity Engine

Download Unity

Unity Engine

SetAllWeightsTo(float)

Set all weight mask values to the specified weight.
Read time 1 minuteLast updated 5 hours ago

Definition

public void SetAllWeightsTo(float weight)

Parameters

weight

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