namespace UnityEngine.Animations.Rigging { /// /// Interface for rig layers. /// public interface IRigLayer { /// The Rig associated to the IRigLayer Rig rig { get; } /// The list of constraints associated with the IRigLayer. IRigConstraint[] constraints { get; } /// The list of jobs built from constraints associated with the IRigLayer. IAnimationJob[] jobs { get; } /// The active state. True if the IRigLayer is active, false otherwise. bool active { get; } /// The IRigLayer name. string name { get; } /// /// Initializes the IRigLayer /// /// The Animator used to animate the IRigLayer constraints. /// True if IRigLayer was initialized properly, false otherwise. bool Initialize(Animator animator); /// /// Updates the IRigLayer jobs. /// void Update(); /// /// Resets the IRigLayer. /// void Reset(); /// /// Queries whether the IRigLayer is valid. /// /// True if IRigLayer is valid, false otherwise. bool IsValid(); } }