Class AnimationSplittingSource.Builder
java.lang.Object
dev.lukebemish.dynamicassetgenerator.api.client.generators.texsources.AnimationSplittingSource.Builder
- Enclosing class:
AnimationSplittingSource
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()setGenerator(TexSource generator) Sets the generator to use to generate each frame of the animation.setSources(Map<String, TexSource> sources) Sets a map to sources to split into frames, from keys used to get frames of specific sources from within the generator.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
setSources
Sets a map to sources to split into frames, from keys used to get frames of specific sources from within the generator. -
setGenerator
Sets the generator to use to generate each frame of the animation.AnimationFrameCaptureshould be used to capture frames of a specific source. -
build
-