Incari Studio
1.0.0
1.0.0
  • INCARI Studio Documentation
  • Getting Started
    • Minimum Requirements *
    • Installation and License *
    • Creating a Project
    • Project Objects
      • Screen
      • Scene
    • Scene Objects *
      • Camera
      • Group
      • Mesh
      • Lights
      • List Widget
      • Text
      • Web Sprite
    • Attributes
      • Common Attributes
        • Object
        • Rotation Pivot
        • Sprite
        • Transformation
      • Attribute Types
        • Boolean Attributes
        • Numerical Attributes
        • Color Attributes
        • Asset/Object Attribute
    • Interface *
      • Modules *
        • Logic Editor
        • Project Outliner
  • Toolbox
    • Date Time
      • Now (UTC)
      • System Time
      • Timezone Value
    • Flow Control
      • Branch
      • Is Equal
      • Is Greater Equal
      • Is Less Equal
      • Select Data
      • Sequential
      • Switch
      • Toggle
  • Math
    • Absolute
    • Add
    • Average
    • Boolean
      • AND
      • Negate
      • OR
    • Ceil
    • Clamp
    • Decrement
    • Divide
    • Floor
    • Increment
    • Interpolate
    • Logarithm
    • Math Constant
    • Maximum
    • Minimum
    • Modulo
    • Multiply
    • Power
    • Range Mapper
    • Root
    • Subtract
    • Trigonometry
      • Arc Cosine
      • Arc Sine
      • Arc Tangent
      • Cosine
      • Radian-Degree Converter
      • Sine
      • Tangent
Powered by GitBook
On this page
  • Overview
  • Attributes
  • Inputs
  • Outputs
  • Examples

Was this helpful?

  1. Toolbox
  2. Flow Control

Select Data

PreviousIs Less EqualNextSequential

Last updated 3 years ago

Was this helpful?

Overview

When you want to evaluate a Data Value in one or more different ways, depending on some conditions, SelectData is used to converge Branches of Logic into a single Branch, regardless of how the Data was calculated.

Attributes

Attribute
Type
Description

Data Type

Drop-down

The type of data that will be plugged into the Input Sockets.

Count

Int

The number of Input Pulses and Data Values the Node will receive.

Inputs

Input
Type
Description

Pulse [n]

Pulse

The Pulse corresponding to the Data in the Socket below.

Input [n]

Defined in the Data Type Attribute.

The Data Value corresponding to the above Pulse.

Outputs

Output
Type
Description

Pulse Output (►)

Pulse

A standard Output Pulse, to move onto the next Node along the Logic Branch, once this Node has finished its execution.

Output

Defined in the Data Type Attribute.

The Input Value corresponding to whichever Pulse triggered the execution of the Node.

Examples

Below is a very simple example of the usage of the SelectData Node. We have two OnKeyPress Nodes, which increment/decrement the Value of a Variable, when the Up / Down arrows are pressed. By using SelectData, we only need to assing the Value once.