Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

RotationConstraint.GetSource

Declaration

public Animations.ConstraintSource GetSource(int index);

Parameters

index The index of the source.

Returns

ConstraintSource The source object and its weight.

Description

Gets a constraint source by index.

Throws ArgumentOutOfRangeException, if the index is invalid.