NoJobEngine 2.0.7
Loading...
Searching...
No Matches
NoJob::EntityLayers Namespace Reference

Functions

constexpr LayerMask Bit (std::uint32_t layer)

Variables

constexpr std::uint32_t Default = 0
constexpr std::uint32_t Player = 1
constexpr std::uint32_t Enemy = 2
constexpr std::uint32_t Environment = 3
constexpr std::uint32_t Interactable = 4
constexpr std::uint32_t MaxLayers = 32
constexpr LayerMask All = 0xFFFFFFFFu
constexpr LayerMask None = 0u

Function Documentation

◆ Bit()

LayerMask NoJob::EntityLayers::Bit ( std::uint32_t layer)
constexpr

Definition at line 54 of file Components.h.

References Bit(), MaxLayers, and None.

Referenced by Bit().

Variable Documentation

◆ All

LayerMask NoJob::EntityLayers::All = 0xFFFFFFFFu
constexpr

Definition at line 51 of file Components.h.

◆ Default

std::uint32_t NoJob::EntityLayers::Default = 0
constexpr

Definition at line 43 of file Components.h.

Referenced by NoJob::SceneSerializer::Load().

◆ Enemy

std::uint32_t NoJob::EntityLayers::Enemy = 2
constexpr

Definition at line 45 of file Components.h.

◆ Environment

std::uint32_t NoJob::EntityLayers::Environment = 3
constexpr

Definition at line 46 of file Components.h.

◆ Interactable

std::uint32_t NoJob::EntityLayers::Interactable = 4
constexpr

Definition at line 47 of file Components.h.

◆ MaxLayers

std::uint32_t NoJob::EntityLayers::MaxLayers = 32
constexpr

Definition at line 49 of file Components.h.

Referenced by Bit(), and NoJob::SceneSerializer::Load().

◆ None

LayerMask NoJob::EntityLayers::None = 0u
constexpr

Definition at line 52 of file Components.h.

Referenced by Bit().

◆ Player

std::uint32_t NoJob::EntityLayers::Player = 1
constexpr

Definition at line 44 of file Components.h.