Package dev.gothickit.zenkit.mrm
Interface MultiResolutionMesh
- All Superinterfaces:
CacheableObject<CachedMultiResolutionMesh>
- All Known Implementing Classes:
CachedMultiResolutionMesh,NativeMultiResolutionMesh
-
Method Summary
Modifier and TypeMethodDescriptionboolean@NotNull AxisAlignedBoundingBoxbbox()static @NotNull MultiResolutionMeshstatic @NotNull MultiResolutionMeshstatic @NotNull MultiResolutionMesh@Nullable Materialmaterial(long i) long@NotNull Vec3f[]normals()@Nullable OrientedBoundingBox@NotNull Vec3f @NotNull []@Nullable MultiResolutionSubMeshsubMesh(long i) long@NotNull List<@NotNull MultiResolutionSubMesh>Methods inherited from interface dev.gothickit.zenkit.CacheableObject
cache, isCached
-
Method Details
-
load
@Contract("_ -> new") @NotNull static @NotNull MultiResolutionMesh load(@NotNull @NotNull String path) throws ResourceIOException - Throws:
ResourceIOException
-
load
@Contract("_ -> new") @NotNull static @NotNull MultiResolutionMesh load(@NotNull @NotNull Read buf) throws ResourceIOException - Throws:
ResourceIOException
-
load
@Contract("_, _ -> new") @NotNull static @NotNull MultiResolutionMesh load(@NotNull @NotNull Vfs vfs, @NotNull @NotNull String name) throws ResourceIOException - Throws:
ResourceIOException
-
positions
-
normals
-
subMeshCount
long subMeshCount() -
subMesh
-
subMeshes
-
materialCount
long materialCount() -
material
-
materials
-
alphaTest
boolean alphaTest() -
bbox
-
orientedBbox
-