Skip to content
Dov1ntc edited this page Jul 12, 2026 · 6 revisions

Code Documentation Page

1. How to Install and Launch project?

git clone https://github.com/dovintc-off/Unminal-Engine.git
cd Unlinal-Engine
dotnet run

Important! Before running the project, ensure you have .NET 10+ installed. As of April 21, 2026, the engine officially supports only Windows 10 and later.


2 Getting Started with Development

  • Development Guidelines:
    1. It is recommended to write the main code in Main.cs
    2. Create various modules in a folder ./src/
    3. If a module contains more than 1 file, you should put it in a separate folder. For example ./src/ModuleName/
    4. Use a single namespace in modules i.e. namespace Unminal;

Engine Functions

SkyBox

  1. Import SkyBox Module: using Unminal.Render.SkyBox;
  2. Create Base variable 'SkyBox? _skybox;'
  3. In 'OnLoad' method create skybox:
string[] skyboxFaces = {
    "PathToRight.png",
    "PathToLeft.png",
    "PathToTop.png",
    "PathToBottom.png",
    "PathToFront.png",
    "PathToBack.png"
};
_skybox = new SkyBox(skyboxFaces);
  1. In 'OnRenderFrame' method draw this skybox first:
GL.DepthMask(false);
_skybox!.Draw(_view, _projection);
GL.DepthMask(true);