Capycore Engine  0.1.0
A simple and lightweight game engine written in C++ based on the Unity API architecture.
Loading...
Searching...
No Matches
layers.h File Reference

Go to the source code of this file.

Enumerations

enum  Layers : int { Background = 0 , Foreground = 10 , Default = Foreground , UI = 50 }
 Predefined layers for GameObjects. Layers are used to categorize GameObjects for rendering and collision detection. More...
 

Enumeration Type Documentation

◆ Layers

enum Layers : int

Predefined layers for GameObjects. Layers are used to categorize GameObjects for rendering and collision detection.

Note
The Default layer is set to Foreground.
This enum is not an enum class to allow implicit conversion to int.
Enumerator
Background 
Foreground 
Default 
UI