API

Interface IFlowGraphDataSwitchBlockConfiguration<T>

interface IFlowGraphDataSwitchBlockConfiguration<T> {
    cases: FlowGraphNumber[];
    treatCasesAsIntegers?: boolean;
}

Type Parameters

  • T

Hierarchy (View Summary)

Index
cases: FlowGraphNumber[]

The possible values for the selection.

treatCasesAsIntegers?: boolean

If true, the cases will be treated as integers, meaning 1.1, 1.0, 0.1e1 and 1 will a single case - "1". This is the default behavior in glTF interactivity.