Package dev.gothickit.zenkit.mdm
Interface ModelMesh
- All Superinterfaces:
CacheableObject<CachedModelMesh>
- All Known Implementing Classes:
CachedModelMesh,NativeModelMesh
-
Method Summary
Modifier and TypeMethodDescription@Nullable MultiResolutionMeshattachment(String name) long@NotNull Map<@NotNull String,@NotNull MultiResolutionMesh> longchecksum()static @NotNull ModelMeshstatic @NotNull ModelMeshstatic @NotNull ModelMesh@Nullable SoftSkinMeshmesh(long i) long@NotNull List<@NotNull SoftSkinMesh>meshes()Methods inherited from interface dev.gothickit.zenkit.CacheableObject
cache, isCached
-
Method Details
-
load
@Contract("_ -> new") @NotNull static @NotNull ModelMesh load(@NotNull @NotNull String path) throws ResourceIOException - Throws:
ResourceIOException
-
load
@Contract("_ -> new") @NotNull static @NotNull ModelMesh load(@NotNull @NotNull Read buf) throws ResourceIOException - Throws:
ResourceIOException
-
load
@Contract("_, _ -> new") @NotNull static @NotNull ModelMesh load(@NotNull @NotNull Vfs vfs, @NotNull @NotNull String name) throws ResourceIOException - Throws:
ResourceIOException
-
meshCount
long meshCount() -
mesh
-
meshes
-
attachmentCount
long attachmentCount() -
attachment
-
attachments
-
checksum
long checksum()
-