Page cover

Custom API Documentation



Overview


Getting Started

Requirements

  • UniApt Engine (version 1.5.2 or later)

  • C++17 compatible compiler

  • Basic understanding of the UniApt Engine architecture

Initialization

Before using any of the API functionalities, initialize the UniApt environment:

#include <uniapt.h>

int main() {
    uniapt::initialize();
    // Your code here
    uniapt::terminate();
    return 0;
}

Modules

Asset Management

uniapt::assets

  • Load Asset

  • Unload Asset

Rendering Engine

uniapt::graphics

  • Create Renderer

  • Render Frame

Physics System

uniapt::physics

  • Create Physics World

  • Add Object to World

Artificial Intelligence

uniapt::ai

  • Create Behavior Tree

  • Run AI Tick


Advanced Features

Networking

uniapt::networking

  • Establish Connection

  • Send Data

Audio Processing

uniapt::audio

  • Play Sound

  • Adjust Volume


API Reference

Scene Management

uniapt::scene

  • Create Scene

  • Add Entity to Scene

  • Scene Iteration

User Interface API

uniapt::ui

  • Create UI Element

  • UI Event Handling

Custom Shader API

uniapt::graphics::shader

  • Compile Shader

  • Apply Shader


Advanced Topics

Plugin Development

  • UniApt supports custom plugin development to extend engine functionalities.

  • Plugin Creation:

Multiplayer and Networking

  • UniApt offers a comprehensive suite for building multiplayer games and networked applications.

  • Setting up a Server:

Virtual Reality (VR) Integration

  • UniApt provides APIs for integrating VR functionalities into your projects.

  • Initializing VR System:


This documentation is part of an ongoing effort to support and guide developers in their journey with UniApt. For the latest updates, more detailed guides, and API changes, please refer to the official UniApt developer portal.


If additional or complete information is required to connect to the UniApt server

please contact: [email protected]

Last updated

Was this helpful?