Package dev.gothickit.zenkit.msh
Interface Mesh
- All Superinterfaces:
CacheableObject<CachedMesh>
- All Known Implementing Classes:
CachedMesh,NativeMesh
-
Method Summary
Modifier and TypeMethodDescription@NotNull AxisAlignedBoundingBox@Nullable LightMaplightMap(long i) longstatic @NotNull Meshstatic @NotNull Meshstatic @NotNull Mesh@Nullable Materialmaterial(long i) long@NotNull Stringname()@NotNull OrientedBoundingBox@Nullable Polygonpolygon(long i) longpolygons()@NotNull Vec3f @NotNull []@NotNull Calendar@NotNull Vertex @NotNull []vertices()Methods inherited from interface dev.gothickit.zenkit.CacheableObject
cache, isCached
-
Method Details
-
load
@Contract("_ -> new") @NotNull static @NotNull Mesh load(@NotNull @NotNull String path) throws ResourceIOException - Throws:
ResourceIOException
-
load
@Contract("_ -> new") @NotNull static @NotNull Mesh load(@NotNull @NotNull Read buf) throws ResourceIOException - Throws:
ResourceIOException
-
load
@Contract("_, _ -> new") @NotNull static @NotNull Mesh load(@NotNull @NotNull Vfs vfs, @NotNull @NotNull String name) throws ResourceIOException - Throws:
ResourceIOException
-
sourceDate
-
name
-
boundingBox
-
orientedBoundingBox
-
materialCount
long materialCount() -
material
-
materials
-
positions
-
vertices
-
lightMapCount
long lightMapCount() -
lightMap
-
lightMaps
-
polygonCount
long polygonCount() -
polygon
-
polygons
-