Package dev.gothickit.zenkit.ani
Interface ModelAnimation
- All Superinterfaces:
CacheableObject<CachedModelAnimation>
- All Known Implementing Classes:
CachedModelAnimation,NativeModelAnimation
-
Method Summary
Modifier and TypeMethodDescription@NotNull AxisAlignedBoundingBoxbbox()longchecksum()floatfps()floatintintlayer()static @NotNull ModelAnimationstatic @NotNull ModelAnimationstatic @NotNull ModelAnimation@NotNull Stringname()@NotNull Stringnext()intint @NotNull []@Nullable AnimationSamplesample(long i) long@NotNull List<@NotNull AnimationSample>samples()@NotNull Calendar@NotNull String@NotNull StringMethods inherited from interface dev.gothickit.zenkit.CacheableObject
cache, isCached
-
Method Details
-
load
@Contract("_ -> new") @NotNull static @NotNull ModelAnimation load(@NotNull @NotNull String path) throws ResourceIOException - Throws:
ResourceIOException
-
load
@Contract("_ -> new") @NotNull static @NotNull ModelAnimation load(@NotNull @NotNull Read buf) throws ResourceIOException - Throws:
ResourceIOException
-
load
@Contract("_, _ -> new") @NotNull static @NotNull ModelAnimation load(@NotNull @NotNull Vfs vfs, @NotNull @NotNull String name) throws ResourceIOException - Throws:
ResourceIOException
-
name
-
next
-
layer
int layer() -
frameCount
int frameCount() -
nodeCount
int nodeCount() -
fps
float fps() -
fpsSource
float fpsSource() -
bbox
-
checksum
long checksum() -
sourcePath
-
sourceDate
-
sourceScript
-
sampleCount
long sampleCount() -
sample
-
samples
-
nodeIndices
int @NotNull [] nodeIndices()
-