interface in UnityEngine.Animations
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
CloseFor some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.
CloseThe common interface for constraint components.
constraintActive | Activate or deactivate the constraint. |
locked | Lock or unlock the offset and position at rest. |
sourceCount | Gets the number of sources currently set on the component. |
weight | The weight of the constraint component. |
AddSource | Add a constraint source. |
GetSource | Gets a constraint source by index. |
GetSources | Gets the list of sources. |
RemoveSource | Removes a source from the component. |
SetSource | Sets a source at a specified index. |
SetSources | Sets the list of sources on the component. |