Brunot
Loading...
Searching...
No Matches
Backdrop.cpp File Reference

The component that belongs to the entity that all entities are children to, inside a scene. More...

#include "Backdrop.h"
#include "Transform.h"
#include "Framework/Engine.h"
#include "Framework/Entity.h"
#include "System/opengl.h"
Include dependency graph for Backdrop.cpp:

Functions

auto to_json (json &j, const Backdrop &b) ->void
auto from_json (const json &j, Backdrop &b) ->void

Detailed Description

The component that belongs to the entity that all entities are children to, inside a scene.

Is always square to make sure rotation behaves as intended for all children. Is NOT responsible for the visuals at the back of the scene (that is Background s responsibility)

Author
Ori Balashov (ori.b.nosp@m.alas.nosp@m.hov@d.nosp@m.igip.nosp@m.en.ed.nosp@m.u) Update into Backdrop Bryley Elder (bryle.nosp@m.y.el.nosp@m.der@d.nosp@m.igip.nosp@m.en.ed.nosp@m.u) & Marcelo Escamilla (marce.nosp@m.lo.e.nosp@m.scami.nosp@m.lla@.nosp@m.digip.nosp@m.en.e.nosp@m.du) Original implementation (this is an edited copy-paste of Background)
Date
2026 / 37 / 07

Function Documentation

◆ from_json()

auto from_json ( const json & j,
Backdrop & b )->void

◆ to_json()

auto to_json ( json & j,
const Backdrop & b )->void