Hi
I need to implement the customized model type loader like
class CustomFileLoader implements IDisposable, ISceneLoaderPluginAsync, ISceneLoaderPluginFactory {
public createPlugin() : ISceneLoaderPlugin | ISceneLoaderPluginAsync {
return new CustomFileLoader();
}
But I am not sure how to register it in system.
I want to use
viewer.initModel(modelConfig, true);
viewer is DefaultViewer and modelConfig is IModelConfiguration .
in the modelConfig.loader can be only string.
How can get the string from CustomFileLoader class?
Thanks for your reply.