Class OnAnimatorIK
Called by the Animator Component immediately before it updates its internal IK system. This callback can be used to set the positions of the IK goals and their respective weights.
Inheritance
OnAnimatorIK
Implements
Inherited Members
Namespace: Unity.VisualScripting
Assembly: Unity.VisualScripting.Flow.dll
Syntax
[UnitCategory("Events/Animation")]
public sealed class OnAnimatorIK : GameObjectEventUnit<int>, IGraphElementWithData, IGraphEventHandler<int>, IGameObjectEventUnit, IEventUnit, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IAotStubbable, IIdentifiable, IAnalyticsIdentifiable, IGraphEventListener
Properties
MessageListenerType
Declaration
public override Type MessageListenerType { get; }
Property Value
Type | Description |
---|---|
Type |
Overrides
hookName
Declaration
protected override string hookName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
layerIndex
The index of the layer on which the IK solver is called.
Declaration
[DoNotSerialize]
public ValueOutput layerIndex { get; }
Property Value
Type | Description |
---|---|
ValueOutput |
Methods
AssignArguments(Flow, int)
Declaration
protected override void AssignArguments(Flow flow, int layerIndex)
Parameters
Type | Name | Description |
---|---|---|
Flow | flow | |
int | layerIndex |
Overrides
Definition()
Declaration
protected override void Definition()