AnimationNodeDefinition
A single node within an animation graph, connected to other nodes through named input pins.
| Memory category | Instances |
|---|
Member index 8
Removed member index 5
| History | Member | |
|---|---|---|
| 706 | GetConnectedWires(pin: string): Instances | |
| 706 | GetInputPinNames(): Array | |
| 706 | GetInputPins(): Array | |
| 706 | GetOutputPins(): Array | |
| 706 | SetInputPinNames(pins: Array): null |
Description
Represents one node in an animation graph, the node-based system that combines animation clips and poses at runtime. Its NodeType determines how the node processes animation, such as playing a clip, blending or overlaying two inputs, masking, or adjusting playback speed, while its NodeId uniquely identifies it within the graph. Nodes connect to one another through named input pins; changing a node's type resets its input pins to the default set for that type.
History 27
- 735 Change Security of InputPinsChanged from RobloxScriptSecurity to None
- 735 Change Security of SetOrderedInputPinNames from RobloxScriptSecurity to None
- 735 Change Security of RemoveInputPin from RobloxScriptSecurity to None
- 735 Change Security of GetOrderedInputPinNames from RobloxScriptSecurity to None
- 735 Change Security of AddInputPin from RobloxScriptSecurity to None
- 706 Add SetOrderedInputPinNames
- 706 Remove SetInputPinNames
- 706 Remove GetOutputPins
- 706 Add GetOrderedInputPinNames
- 706 Remove GetInputPins
- 706 Remove GetInputPinNames
- 706 Remove GetConnectedWires
- 703 Add InputPinsChanged
- 702 Add NodeId
- 701 Remove NodeId
- 702 Add NodeId
- 700 Add SetInputPinNames
- 700 Add GetInputPinNames
- 698 Change Default of from to
- 697 Add RemoveInputPin
- 697 Add GetOutputPins
- 697 Add GetInputPins
- 697 Add GetConnectedWires
- 697 Add AddInputPin
- 697 Add NodeType
- 697 Add
- 697 Add AnimationNodeDefinition
Members 8
AddInputPin
| Parameters (1) | ||
|---|---|---|
| pin | string | |
| Returns (1) | ||
| null | ||
Appends a named input pin to the end of the ordered input pin list. The order in which pins are added is significant for nodes such as AnimationNodeType.SequenceNode, AnimationNodeType.RandomSequenceNode, and AnimationNodeType.PrioritySelectNode.
| Thread safety | Unsafe |
|---|
History 2
- 735 Change Security of AddInputPin from RobloxScriptSecurity to None
- 697 Add AddInputPin
GetOrderedInputPinNames
| Parameters (0) | ||
|---|---|---|
| No parameters. | ||
| Returns (1) | ||
| Array | ||
Returns the current ordered list of input pin names.
| Thread safety | Unsafe |
|---|
History 2
- 735 Change Security of GetOrderedInputPinNames from RobloxScriptSecurity to None
- 706 Add GetOrderedInputPinNames
InputPinsChanged
| Parameters (0) | ||
|---|---|---|
| No parameters. | ||
Fires whenever the ordered input pin list is modified.
| Thread safety | Unsafe |
|---|
History 2
- 735 Change Security of InputPinsChanged from RobloxScriptSecurity to None
- 703 Add InputPinsChanged
NodeId
| Type | Default | |
|---|---|---|
| string | ||
A unique identifier used to reference this node among the other nodes in its graph. Defaults to an empty string.
| Security | RobloxScriptSecurity |
|---|---|
| Thread safety | ReadSafe |
| Category | Data |
| Loaded/Saved | true |
NodeType
| Type | Default | |
|---|---|---|
| AnimationNodeType | InvalidNode | |
Determines how the node processes animation within the graph, for example a clip source, an additive or overlay blend, a mask, or a speed adjustment (see AnimationNodeType). Defaults to InvalidNode. Changing this value resets the node's input pins to the default set defined for the new type.
| Thread safety | ReadSafe |
|---|---|
| Category | Animation |
| Loaded/Saved | true |
RemoveInputPin
| Parameters (1) | ||
|---|---|---|
| pin | string | |
| Returns (1) | ||
| null | ||
Removes the first input pin matching the given name from the ordered pin list.
| Thread safety | Unsafe |
|---|
History 2
- 735 Change Security of RemoveInputPin from RobloxScriptSecurity to None
- 697 Add RemoveInputPin
SetOrderedInputPinNames
| Parameters (1) | ||
|---|---|---|
| pins | Array | |
| Returns (1) | ||
| null | ||
Bulk-replaces the entire ordered input pin list. Use this to reorder pins or apply batch updates in a single call.
| Thread safety | Unsafe |
|---|
History 2
- 735 Change Security of SetOrderedInputPinNames from RobloxScriptSecurity to None
- 706 Add SetOrderedInputPinNames
Removed members 5
GetConnectedWires
| Parameters (1) | ||
|---|---|---|
| pin | string | |
| Returns (1) | ||
| Instances | ||
| Thread safety | Unsafe |
|---|
History 2
- 706 Remove GetConnectedWires
- 697 Add GetConnectedWires
GetInputPinNames
| Parameters (0) | ||
|---|---|---|
| No parameters. | ||
| Returns (1) | ||
| Array | ||
| Security | RobloxScriptSecurity |
|---|---|
| Thread safety | Unsafe |
History 2
- 706 Remove GetInputPinNames
- 700 Add GetInputPinNames
GetInputPins
| Parameters (0) | ||
|---|---|---|
| No parameters. | ||
| Returns (1) | ||
| Array | ||
| Thread safety | Unsafe |
|---|
History 2
- 706 Remove GetInputPins
- 697 Add GetInputPins
GetOutputPins
| Parameters (0) | ||
|---|---|---|
| No parameters. | ||
| Returns (1) | ||
| Array | ||
| Thread safety | Unsafe |
|---|
History 2
- 706 Remove GetOutputPins
- 697 Add GetOutputPins
SetInputPinNames
| Parameters (1) | ||
|---|---|---|
| pins | Array | |
| Returns (1) | ||
| null | ||
| Security | RobloxScriptSecurity |
|---|---|
| Thread safety | Unsafe |
History 2
- 706 Remove SetInputPinNames
- 700 Add SetInputPinNames