API

Function addFlowGraph

  • Imperatively build, attach, and drive a flow graph on a scene WITHOUT a glTF asset (BJS FlowGraphCoordinator.addFlowGraph + run). Defaults to the scene-owned animation caps and the shared scene bus (so it can exchange custom events with other graphs); both are overridable via wiring. The runtime starts on the next frame and auto-disposes on scene dispose.

    Parameters

    Returns Promise<FgRuntime>