registerSchemas static method

void registerSchemas(
  1. EngineContext context
)

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

Implementation

static void registerSchemas(EngineContext context) =>
    context.definitions.registerAll(Physics3DSchemas.all, ifAbsent: true);