Back to Node List

List Unpack

list_unpack

Unpacks list elements into individual outputs

Reviewed
Guide available
The node name and summary are available in English. Port, parameter, and article details are currently shown in Japanese.

Input Ports

NameTypeDescription
リスト
list
List<Number>
Required
展開するリスト

Output Ports

NameTypeDescription
要素 0
item_0
Number
リストの要素 0
要素 1
item_1
Number
リストの要素 1
要素 2
item_2
Number
リストの要素 2
要素 3
item_3
Number
リストの要素 3
要素数
count
Int
リストの要素数

Parameters

NameTypeDefaultRangeDescription / Options
要素の型
item_type
Enum
Number

このノードが展開するリスト要素の型を選びます。Any は上級者向けです。

  • 数値(汎用)Number
    Float と Int の両方を扱える数値リストです
  • 小数Float
    小数値のリストです
  • 整数Int
    整数値のリストです
  • ON/OFFBool
    ON/OFF のリストです
  • Color
    色のリストです
  • 文字Text
    文字のリストです
  • 画像Image
    画像のリストです
  • パスPath
    パスのリストです
  • ピクセル線PixelLine
    ピクセル線のリストです
  • Vec2Vec2
    2D ベクトルのリストです
  • Vec3Vec3
    3D ベクトルのリストです
  • OKLCH補正OklchAdjust
    OKLCH基準の明るさ・鮮やかさ・色相・透明度の補正セットのリストです
  • パレットPalette
    パレットのリストです
  • リストList
    リストのリストを作ります
  • マップMap
    マップのリストです
  • 文字レイアウトTextLayout
    文字レイアウトのリストです
  • ピクセルパッチPixelPatch
    ピクセルパッチのリストです
  • 記録レイヤーRecordedLayer
    記録レイヤーのリストです
  • アニメーションクリップAnimationClip
    アニメーションクリップのリストです
  • AsepriteファイルAsepriteFile
    Aseprite document のリストです
  • ルールグリッドRuleGridSpec
    RuleGridSpec のリストです
  • ルールタイルセットRuleTileSet
    RuleTileSet のリストです
  • ルールタイル素材RuleTileAsset
    RuleTileAsset のリストです
  • ルールセットRuleSet
    RuleSet のリストです
  • ルールキャンバスRuleCanvas
    RuleCanvas のリストです
  • 解決済みルール配置RuleResolved
    RuleResolved のリストです
  • ルールタイルアトラスRuleTileAtlas
    RuleTileAtlas のリストです
  • 9スライスNineSlice
    9スライスUI素材のリストです
  • 2D FX 状態FxState2D
    FxState2D のリストです
  • スプライトシートSpriteSheet
    スプライトシートのリストです
  • バリアントスナップショットVariantSnapshot
    variant snapshot のリストです
  • バリアントレシピVariantRecipe
    variant recipe のリストです
  • バリアントレコードVariantRecord
    variant record のリストです
  • IsoItemIsoItem
    IsoItem のリストです
  • IsoSceneIsoScene
    IsoScene のリストです
  • IsoWorldIsoWorld
    IsoWorld のリストです
  • タイル素材TileAsset
    タイル素材のリストです(tile_palette_create の入力などに使います)
  • タイルパレットTilePalette
    タイルパレットのリストです
  • タイルマップTileCanvas
    タイルマップのリストです
  • 解決済みタイル配置TileResolved
    解決済みタイル配置のリストです
  • Any(上級者向け)Any
    上級者向けです。どの型でも混ぜられますが、取り出した値の型が下流ノードの期待と合わないと実行時エラーになります。
出力数
count
Int
41–16

出力スロットの数

Overview

Splits a list into individual output ports (the reverse of list_create). Use it to separate list elements into different wires and send each one through different processing or previews.

Usage tips

  • Its main use is distribution where each element has a different role, such as splitting a four-color palette into four wires and assigning each color to a different part.
  • If every element gets the same processing, use list_map; there is no need to split the list. Unpack only when the processing differs by element.
  • The slot count (the count parameter) is at most 16. Elements beyond that are not output, so use list_slice first if you need to select a range.

Related nodes

  • list_create — reverse direction (individual values → list)
  • list_get — when one element is enough
  • channel_split — a similar operation for image channels
  • palette_get — a more direct choice for one color from a palette

Technical details

  • item_type links the type of the list input and each item_n output.
  • count is the number of visible output slots, separate from the actual list length.
  • The count output returns the number of elements in the list that arrived.
  • A Palette can be unpacked as List<Color>.
  • Any can unpack mixed lists, but downstream nodes may warn about type mismatches.

Examples

  • Split a List<Image> into outputs for multiple previews or branches.
  • Unpack a color palette and send each color to a separate node.
  • Use the count output so another node can read the current number of valid candidates.
Back to Node List
List Unpack — PixPipeline Node Reference