API

Interface IFlowGraphMathBlockConfiguration

A configuration interface for math blocks

interface IFlowGraphMathBlockConfiguration {
    name?: string;
    preventIntegerFloatArithmetic?: boolean;
    type?: FlowGraphTypes;
    useMatrixPerComponent?: boolean;
    [extraPropertyKey: string]: any;
}

Hierarchy (View Summary)

Indexable

  • [extraPropertyKey: string]: any
Index
name?: string

The name of the block.

preventIntegerFloatArithmetic?: boolean

If true, the block will not allow integer and float arithmetic. This is the behavior in glTF interactivity.

The type of the variable.

useMatrixPerComponent?: boolean

If true, the multiplication is done per component. This is the behavior in glTF interactivity.