file
LightSetup.h
Contents
- Reference
Namespaces
Classes
- struct esp::gfx::LightInfo
- Contains a single light's information.
Enums
- enum class LightPositionModel { CAMERA = 0, GLOBAL = 1, OBJECT = 2 }
Typedefs
-
using LightSetup = std::
vector<LightInfo>
Functions
- auto operator==(const LightInfo& a, const LightInfo& b) -> bool
- auto operator!=(const LightInfo& a, const LightInfo& b) -> bool
-
auto getLightPositionRelativeToCamera(const LightInfo& light,
const Magnum::
Matrix4& transformationMatrix, const Magnum:: Matrix4& cameraMatrix) -> Magnum:: Vector3 - Get position relative to a camera for a LightInfo and a rendered object.
-
auto getLightsAtBoxCorners(const Magnum::
Range3D& box, const Magnum:: Color4& lightColor = Magnum:: Color4{0.4f}) -> LightSetup - Get a LightSetup with lights at the corners of a box.