Node: List

From Waltz
Revision as of 17:03, 24 July 2019 by Patrick Angle (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The List node allows you to group values into a single flat List or a List of Lists. Lists are an immensely helpful construct in that they allow multiple pieces of information to be passed between nodes without having to make numerous connections between the node. Lists are ideal for data in which the order of the elements does not matter, or in which all data is equally important. For data in which the order or purpose of elements matters, use a Map Node which uses a Map to represent data.

Settings

Expected Type Details Default
Flatten lists to single dimension Boolean Note: This value is not represented by an Expression. When enabled, any of the values that in turn represent a list will be flattened so that the output list does not contain lists of data. This is useful for merging multiple lists of data together, and is generally the desired behavior. It is uncommon that you would want to output a List of Lists. true
Values List<Any> A list of Script Expressions that will be evaluated to produce the output list. Items can be added, removed, and moved in the list.

Parameters

Type Details
list List<Any> Note: The parameter is read-only. The list constructed from the provided values.

Functions

There are no functions exposed by this node.

Example Usage

No examples provided.

Nodes
Devices ArtNet Input · ArtNet Output · Interactive LED Processor · NDI™ Input · NDI™ Output · OSC Input · OSC Output · Projector · SensorLink · TCP · TUIO Output · UDP Input · UDP Output · Watchout Media Server
Objects LED Tile Layout · List · Map · Random Number · Simulated Touch · Timer · Value · Wave
Operators Blend · Change · Clip · Cluster Tracker · DMX Multiverse Merge · Ease · Filter · Hold · JSON Mapper · JSON Stringify · Logic · Math · Proximity · Range · Rotate · Scale · Shear · Smooth · Touch Mapper · Translate
Scenes External Scene · Material Scene
Materials Graph · Touch Material
Scripting Script Function · Script
Comments Comment