Version: 2018.2
public void SetSource (int index, Animations.ConstraintSource source);

Parameters

indexThe index of the source to set.
sourceThe source object and its weight.

Description

Sets a source at a specified index.

Throws ArgumentOutOfRangeException, if the index is invalid.