API

Interface IFlowGraphRoundBlockConfiguration

Configuration for the round block.

interface IFlowGraphRoundBlockConfiguration {
    name?: string;
    roundHalfAwayFromZero?: boolean;
    [extraPropertyKey: string]: any;
}

Hierarchy (View Summary)

Indexable

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

The name of the block.

roundHalfAwayFromZero?: boolean

If true, the rounding is away from zero, even when negative. i.e. -7.5 goes to -8, and not -7 as Math.round does (it rounds up). This is the default when using glTF