Package dev.gothickit.zenkit.mds
Interface ModelScript
- All Known Implementing Classes:
CachedModelScript,NativeModelScript
public interface ModelScript
-
Method Summary
Modifier and TypeMethodDescription@Nullable NativeAnimationanimation(long i) @Nullable AnimationAliasanimationAlias(long i) long@NotNull List<@NotNull AnimationAlias>@Nullable AnimationBlendanimationBlend(long i) long@NotNull List<@NotNull AnimationBlend>@Nullable AnimationCombineanimationCombine(long i) long@NotNull List<@NotNull AnimationCombine>long@NotNull List<@NotNull NativeAnimation>@Nullable StringdisabledAnimation(long i) longstatic @NotNull ModelScriptstatic @NotNull ModelScriptstatic @NotNull ModelScript@Nullable Stringmesh(long i) longmeshes()@Nullable StringmodelTag(long i) longboolean@NotNull String
-
Method Details
-
load
@Contract("_ -> new") @NotNull static @NotNull ModelScript load(@NotNull @NotNull String path) throws ResourceIOException - Throws:
ResourceIOException
-
load
@Contract("_ -> new") @NotNull static @NotNull ModelScript load(@NotNull @NotNull Read buf) throws ResourceIOException - Throws:
ResourceIOException
-
load
@Contract("_, _ -> new") @NotNull static @NotNull ModelScript load(@NotNull @NotNull Vfs vfs, @NotNull @NotNull String name) throws ResourceIOException - Throws:
ResourceIOException
-
skeletonName
-
skeletonMeshDisabled
boolean skeletonMeshDisabled() -
meshCount
long meshCount() -
disabledAnimationsCount
long disabledAnimationsCount() -
animationCombineCount
long animationCombineCount() -
animationBlendCount
long animationBlendCount() -
animationAliasCount
long animationAliasCount() -
modelTagCount
long modelTagCount() -
animationCount
long animationCount() -
disabledAnimation
-
mesh
-
animationCombine
-
animationBlend
-
animationAlias
-
modelTag
-
animation
-
animationCombines
-
meshes
-
disabledAnimations
-
animationBlends
-
animationAliases
-
modelTags
-
animations
-