registerDefinitions static method
Registers the 3-D components into context, with the field type the
material overrides are saved through, 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 registerDefinitions(EngineContext context) {
context.fieldTypes.registerAll(
Material3DDefinitions.fieldTypes,
ifAbsent: true,
);
context.definitions.registerAll(_definitions, ifAbsent: true);
_registerPlayback(context);
}