API

Class FlowGraphMathSmoothStepBlock

Smooth-step block, returning the Hermite interpolation coefficient. Operates component-wise over floatN inputs (the two edges a/b and the value c).

Hierarchy

Index
a: FlowGraphDataConnection<FlowGraphMathOperationType>

First input of this block

b: FlowGraphDataConnection<FlowGraphMathOperationType>

Second input of this block

c: FlowGraphDataConnection<FlowGraphMathOperationType>

Third input of this block

the configuration of the block

dataInputs: FlowGraphDataConnection<any>[]

The data inputs of the block.

dataOutputs: FlowGraphDataConnection<any>[]

The data outputs of the block.

isValid: FlowGraphDataConnection<boolean>

Output connection: Whether the value is valid.

metadata: any

Metadata that can be used by the block.

name: string

The name of the block.

uniqueId: string = ...

A randomly generated GUID for each block.

value: FlowGraphDataConnection<FlowGraphMathOperationType>

The output of the operation

  • Serializes this block

    Parameters

    • serializationObject: any = {}

      the object to serialize to

    • _valueSerializeFunction: (key: string, value: any, serializationObject: any) => any = defaultValueSerializationFunction

      a function that serializes a specific value

    Returns void