Interface ModelModifier.AfterBake.Context
- Enclosing interface:
ModelModifier.AfterBake
@NonExtendable
public static interface ModelModifier.AfterBake.Context
The context for an after 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 unbaked model that is being baked.The function that can be used to retrieve sprites.
-
Method Details
-
id
Identifier id()The identifier of this model (may be aModelIdentifier
). -
sourceModel
UnbakedModel sourceModel()The unbaked model that is being baked. -
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.
-