List Variable Nodes: Difference between revisions
No edit summary |
No edit summary |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
= | {{CustomHeader|Title=For Each Node}} | ||
A “for each” loop is a concept in programming that allows you to perform a certain action for each item in a collection, such as a list or an array. | |||
Imagine you have a basket of fruits and you want to look at each fruit one by one. In programming terms, the basket is your collection (like a list or an array), and each fruit is an item in that collection. | |||
Here’s a simple analogy: | |||
*You start at the beginning of the basket. | |||
*You pick up the first fruit, look at it (this is the action you’re performing). | |||
*You put that fruit down and pick up the next one. | |||
*You repeat this process until you’ve looked at every fruit in the basket. | |||
In a “for each” loop, the computer does something similar. It starts at the beginning of the collection, performs an action for the first item, then moves on to the next item, and so on, until it has performed the action for every item in the collection. | |||
{{CustomHeader|Title=Get List Length Node}} | |||
Returns the length (or the total number of entries in an array or list) and outputs this as a floored integer value. | |||
= | {{CustomHeader|Title=Actor List Variable Node}} | ||
= | {{CustomHeader|Title=Add List Element Node}} | ||
= | {{CustomHeader|Title=Bool List Variable Node}} | ||
= | {{CustomHeader|Title=Color List Variable Node}} | ||
= | {{CustomHeader|Title=Get Any List Index By Value Node}} | ||
=== | {{CustomHeader|Title=Get List Element By Index Node}} | ||
{{CustomHeader|Title=Get List Index By Value Node}} | |||
{{CustomHeader|Title=Number List Variable Node}} | |||
{{CustomHeader|Title=Order List Node}} | |||
{{CustomHeader|Title=Remove List Element Node}} | |||
{{CustomHeader|Title=Replace List Element Node}} | |||
{{CustomHeader|Title=String List Variable Node}} | |||
{{CustomHeader|Title=Vector Three List Variable Node}} |
Latest revision as of 20:16, 17 June 2024
For Each Node
A “for each” loop is a concept in programming that allows you to perform a certain action for each item in a collection, such as a list or an array.
Imagine you have a basket of fruits and you want to look at each fruit one by one. In programming terms, the basket is your collection (like a list or an array), and each fruit is an item in that collection.
Here’s a simple analogy:
- You start at the beginning of the basket.
- You pick up the first fruit, look at it (this is the action you’re performing).
- You put that fruit down and pick up the next one.
- You repeat this process until you’ve looked at every fruit in the basket.
In a “for each” loop, the computer does something similar. It starts at the beginning of the collection, performs an action for the first item, then moves on to the next item, and so on, until it has performed the action for every item in the collection.
Get List Length Node
Returns the length (or the total number of entries in an array or list) and outputs this as a floored integer value.