Package dev.gothickit.zenkit.world
Class World
java.lang.Object
dev.gothickit.zenkit.world.World
- All Implemented Interfaces:
NativeObject
-
Method Summary
Modifier and TypeMethodDescriptiongetMesh()@NotNull com.sun.jna.PointergetRootObject(long i) longstatic @NotNull Worldstatic @NotNull Worldstatic @NotNull World
-
Method Details
-
load
@Contract("_ -> new") @NotNull public static @NotNull World load(@NotNull @NotNull String path) throws ResourceIOException - Throws:
ResourceIOException
-
load
@Contract("_ -> new") @NotNull public static @NotNull World load(@NotNull @NotNull Read buf) throws ResourceIOException - Throws:
ResourceIOException
-
load
@Contract("_, _ -> new") @NotNull public static @NotNull World load(@NotNull @NotNull Vfs vfs, @NotNull @NotNull String name) throws ResourceIOException - Throws:
ResourceIOException
-
getNativeHandle
@NotNull public @NotNull com.sun.jna.Pointer getNativeHandle()- Specified by:
getNativeHandlein interfaceNativeObject
-
getMesh
-
getWayNet
-
getBspTree
-
getRootObjectCount
public long getRootObjectCount() -
getRootObject
-
getRootObjects
-