Daggerfall Mod:DFRemake/DFEGet3dObjectMesh
The UESPWiki – Your source for The Elder Scrolls since 1995
< Mod / Daggerfall: Daggerfall Mod: DFRemake
integer DFEGet3dObjectMesh ( DWORD MemblockPtr )[edit]
Inputs[edit]
- MemblockPtr: The pointer to the memblock from the GET MEMBLOCK PTR command.
Outputs[edit]
Returns DFERR_SUCCESS on success and the appropriate error code on failure.
Description[edit]
This function creates a memblock object from the currently loaded DF 3d object. Use DFEGet3dObjectSize to allocate a memblock of the required size.
Notes[edit]
This function does not create objects with textures but it can be used for wireframe model testing. It is much simpler than the other functions for object creation which require multiple calls and limb assembly.
Example[edit]
Local ErrResult as integer make memblock 1, DFEGet3dObjectSize() ErrResult = DFEGet3dObjectMesh(get memblock ptr(1)) if (ErrResult <> DFERR_SUCCESS) then End