Version: 2022.3
言語: 日本語

IConstraint

interface in UnityEngine.Animations

マニュアルに切り替える

説明

The common interface for constraint components.

変数

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.

Public 関数

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.