Package dev.gothickit.zenkit.mdh
Interface ModelHierarchy
- All Superinterfaces:
CacheableObject<CachedModelHierarchy>
- All Known Implementing Classes:
CachedModelHierarchy,NativeModelHierarchy
-
Method Summary
Modifier and TypeMethodDescription@NotNull AxisAlignedBoundingBoxbbox()longchecksum()@NotNull AxisAlignedBoundingBoxstatic @NotNull ModelHierarchystatic @NotNull ModelHierarchystatic @NotNull ModelHierarchy@Nullable ModelHierarchyNodenode(long i) long@NotNull List<@NotNull ModelHierarchyNode>nodes()@NotNull Vec3f@NotNull Calendar@NotNull StringMethods inherited from interface dev.gothickit.zenkit.CacheableObject
cache, isCached
-
Method Details
-
load
@Contract("_ -> new") @NotNull static @NotNull ModelHierarchy load(@NotNull @NotNull String path) throws ResourceIOException - Throws:
ResourceIOException
-
load
@Contract("_ -> new") @NotNull static @NotNull ModelHierarchy load(@NotNull @NotNull Read buf) throws ResourceIOException - Throws:
ResourceIOException
-
load
@Contract("_, _ -> new") @NotNull static @NotNull ModelHierarchy load(@NotNull @NotNull Vfs vfs, @NotNull @NotNull String name) throws ResourceIOException - Throws:
ResourceIOException
-
nodeCount
long nodeCount() -
node
-
bbox
-
collisionBbox
-
rootTranslation
-
checksum
long checksum() -
sourceDate
-
sourcePath
-
nodes
-