Version: 2018.1
public Animations.ConstraintSource GetSource (int index);

Parameters

indexThe index of the source.

Returns

ConstraintSource The source object and its weight.

Description

Gets a constraint source by index.

Throws InvalidOperationException, if the list of sources is empty. Throws ArgumentOutOfRangeException, if the index is invalid.