Nút Chuyển Đổi Trình Đơn [Menu Switch Node]¶

The "Đổi Trình Đơn" đầu ra của nút cái/số một của của nó đầu vào tùy thuộc vào một trình đơn lựa chọn. Duy the đầu vào that được passed through the nút được computed.
The available menu entries are defined by the user. Menu items can be added and removed, as well as renamed and reordered in the editor side bar. Renaming a menu entry keeps existing links of the matching input socket.
The menu can be used in node groups and the nodes modifier UI. Connecting the menu input with a Group Input node will expose the menu as a group input. A menu socket in a node group, reroute node, or other pass-through nodes needs to be connected to a Menu Switch node in order to work. An unconnected menu socket will show an empty menu by default.
Connecting multiple Menu Switch nodes to the same output socket creates a conflict (even when the menu entries are the same). To avoid this a menu switch can be wrapped in a node group. Multiple node groups of the same type can be connected to the same menu, since they contain the same menu switch node.
Xem thêm
The Chỉ Số Nút Chuyển Mạch [Index Switch Node] is similar but it exposes the choices as an integer index.
Đầu Vào (Inputs)¶
- Trình Đơn (Menu)
Xác Định which của đầu vào các tùy chọn dưới will be passed through.
- Đầu Vào [Item Inputs]
One input is created for every menu entry. The input is used when the matching option is selected. Items can be renamed by Ctrl-LMB on the socket name or in the nodes Properties panel.
Tính Chất (Properties)¶
- Thể Loại (Type)
Xác định kiểu dữ liệu được xử lý bởi nút.
Đầu Ra (Outputs)¶
- Đầu Ra (Output)
Cái/Số Một của đầu vào mà không bất cứ các sửa đổi.