Switch image

节点功能:根据布尔值 boolean 的真假,选择输出一张图片,也可以理解为一个“图像选择开关”。? Switch image-
节点中英文对比
Switch image
  • on_true
  • on_false
  • image
  • boolean
    Switch image
  • on_true
  • on_false
  • image
  • boolean
    Switch image - 参数说明
    输入参数
    on_true
    当布尔值为 True 时,输出连接on_true的图像。
    on_false
    当布尔值为 False 时,输出连接On_false的图像。
    输出参数
    image
    根据 boolean 值返回 on_true 或 on_false 中的一张图像。
    控件参数
    boolean
    用于确定将选择哪个图像输入(on_true 或 on_false)。如果布尔值为 true,则选择 on_true 图像;如果布尔值为 false,则选择 on_false 图像。此参数的默认值为 true。
    暂无节点说明
    节点列表 首页