跳转到内容

Value2 Array

创建一个二维值列表,可通过索引将其分配给其他 Layers。

Auto Index - 勾选后,Layer 将自动输出所有索引。

Array Index - 选择数组中的索引。

Reverse - 反转索引的输出顺序。例如,当有 3 个索引 0,1,2 时,它们的顺序将反转为 2,1,0

Count - 输出数组中索引的数量。

Button iconAdd - 使用此按钮向 UI 添加更多行(索引)。

0: Value - 数组中的第一个索引。设置二维值。

  1. 创建一个 Value2 Array
  2. 点击 Button iconAdd 按钮创建第二个索引。
  3. 为每个索引设置 X, Y 值为 1920, 1080720, 720
  4. 打开 Composition Settings,通过点击并拖动其标题使窗口保持打开。
  5. 连接 value2Array.id→composition1.resolution。
  6. Value2 Array 上取消勾选 Auto Index
  7. 将 Array Index 设置为值 1。

Array Index01 之间切换时,Composition Resolution 将从 1920 x 1080px 变为 720 x 720px。

双击索引行会将 Index 设置为该值。