Interface ModelModifier.BeforeBake.Context
- Enclosing interface:
ModelModifier.BeforeBake
@NonExtendable
public static interface ModelModifier.BeforeBake.Context
The context for a before bake model modification event.
-
Method Summary
Modifier and TypeMethodDescriptionbaker()
The baker being used to bake this model.id()
The identifier of this model (may be aModelIdentifier
).loader()
The current model loader instance, which changes between resource reloads.settings()
The settings this model is being baked with.The function that can be used to retrieve sprites.
-
Method Details
-
id
Identifier id()The identifier of this model (may be aModelIdentifier
). -
textureGetter
Function<SpriteIdentifier,Sprite> textureGetter()The function that can be used to retrieve sprites. -
settings
ModelBakeSettings settings()The settings this model is being baked with. -
baker
Baker baker()The baker being used to bake this model. It can be used to load unbaked models and load baked models. -
loader
ModelLoader loader()The current model loader instance, which changes between resource reloads.
-