🎮
Unified-Game-Engine
  • #️Home
  • 🚀Setup
    • Installation
    • Creating a game
    • Camera object
    • Sky box
    • Our first GameObject
    • Accepting Input
    • Code Objects
    • Camera movement and rotation
    • Conclusion
  • 📄Documentation
    • Core::Display::Color
    • Core::Display::Window
    • Core::Rendering::Shader
    • Core::Conifg
    • Core::GameInteractionObject
    • Core::Instance
    • Core::Time
    • Input::Input
    • Input::Keyboard
    • Input::Mouse
    • Objects::Components::Collider
    • Objects::Components::Material
    • Objects::Components::Rigidbody
    • Objects::Components::ShaderArgument
    • Objects::Components::ShaderObject
    • Objects::Components::Texture2D
    • Objects::Components::Transform
    • Objects::Mesh::Default::Cube
    • Objects::Mesh::Mesh
    • Objects::Camera
    • Objects::GameObject
    • Objects::ObjectComponent
    • Objects::ScriptObject
    • Objects::Skybox
    • Debug
    • IncludeGL
Powered by GitBook
On this page
  1. 🚀Setup

Camera object

Allowing the first render to occur

At this point you should have the game configured and ready to load. Creating a camera for the game is super easy.

//Camera
UnifiedEngine::Camera Cam;
UnifiedEngine::instantiate(&Cam);

And that's it, now compile and run. You should end up with a black screen.

PreviousCreating a gameNextSky box

Last updated 1 year ago