API

Interface IFlowGraphContextParseOptions

Options for parsing a context.

interface IFlowGraphContextParseOptions {
    graph: FlowGraph;
    valueParseFunction?: (
        key: string,
        serializationObject: any,
        assetsContainer: IAssetContainer,
        scene: Scene,
    ) => any;
}
Index
graph: FlowGraph

The graph that the context is being parsed in.

valueParseFunction?: (
    key: string,
    serializationObject: any,
    assetsContainer: IAssetContainer,
    scene: Scene,
) => any

A function that parses a value from a serialization object.

Type Declaration

    • (
          key: string,
          serializationObject: any,
          assetsContainer: IAssetContainer,
          scene: Scene,
      ): any
    • Parameters

      • key: string

        the key of the value

      • serializationObject: any

        the object containing the value

      • assetsContainer: IAssetContainer

        the assets container

      • scene: Scene

        the current scene

      Returns any