Interface ModelLoadingPlugin
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A model loading plugin is used to extend the model loading process through the passed
ModelLoadingPlugin.Context object.
PreparableModelLoadingPlugin can be used if some resources need to be loaded from the
ResourceManager.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic @UnmodifiableView List<ModelLoadingPlugin> getAll()Gets a list of all registered model loading plugins.voidinitialize(ModelLoadingPlugin.Context pluginContext) Called towards the beginning of the model loading process, every time resource are (re)loaded.static voidregister(ModelLoadingPlugin plugin) Registers a model loading plugin.
-
Method Details
-
register
Registers a model loading plugin. -
getAll
Gets a list of all registered model loading plugins. -
initialize
Called towards the beginning of the model loading process, every time resource are (re)loaded. Use the context object to extend model loading as desired.
-