Available translations

Image Condition

foundations.png
image-condition.png
An image condition is a rule that allows establishing when an image shall be rendered and when not.
Content
The node is optional. When the node is not present in the definition of the image or when the condition validates true, the image is rendered on screen. When the condition validates false the image is not rendered. As such, the node allows dynamically switching the rendering of the corresponding image on and off.
Image Condition Menu
The Image Condition node has the following Node Menu items:
The Edit menu item has the following properties:
  • action: Edit
  • actionFunction: uiObject.codeEditor.activate
  • label: Edit
  • iconPathOn: javascript-code
  • iconPathOff: javascript-code
The Delete menu item has the following properties:
  • action: Delete UI Object
  • actionProject: Visual-Scripting
  • askConfirmation: true
  • confirmationLabel: Confirm to Delete
  • actionFunction: payload.executeAction
  • label: Delete
  • iconPathOn: delete-entity
  • iconPathOff: delete-entity
Image Condition Attaching Rules
The following are the Node Attaching Rules that govern the attachment of Image Condition with other nodes:
Compatible Types:
Image Condition Code
This section explores Image Condition Node Code.
Initial Value
The initial value for Image Condition Code is:
 ""
Examples
This is a list of examples used on the Image Condition code, collected from this workspace.