registerSchemas static method

void registerSchemas(
  1. EngineContext context
)

Registers the 3-D components into context, so scenes holding them load and save — for tools that read and write 3-D scenes without drawing them. Giving the engine a Graphics3D does this already.

Implementation

static void registerSchemas(EngineContext context) {
  context.definitions
    ..registerAll(GraphicsSchemas.all, ifAbsent: true)
    ..registerAll(ShapeSchemas.all, ifAbsent: true);
  _registerPlayback(context);
}