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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
initialize
(ModelLoadingPlugin.Context pluginContext) Called towards the beginning of the model loading process, every time resource are (re)loaded.static void
register
(ModelLoadingPlugin plugin) Registers a model loading plugin.
-
Method Details
-
register
Registers a model loading plugin. -
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.
-