IConstraint

interface in UnityEngine.Animations

Cambiar al Manual

Descripción

The common interface for constraint components.

Variables

constraintActiveActivate or deactivate the constraint.
lockedLock or unlock the offset and position at rest.
sourceCountGets the number of sources currently set on the component.
weightThe weight of the constraint component.

Funciones Públicas

AddSourceAdd a constraint source.
GetSourceGets a constraint source by index.
GetSourcesGets the list of sources.
RemoveSourceRemoves a source from the component.
SetSourceSets a source at a specified index.
SetSourcesSets the list of sources on the component.