Skip to content

ludus::graphics::renderer::WorldGridLine

Ludus Wiki · API overview · Browse API

Struct

One opaque world-space line ribbon. Its four corners are start/end plus/minus HalfWidthWorld.

Declared in modules/graphics/renderer/include/ludus/graphics/renderer/world_grid.hpp

#include <ludus/graphics/renderer/world_grid.hpp>
struct ludus::graphics::renderer::WorldGridLine final

Fields

StartWorld

foundation::math::Vector3 ludus::graphics::renderer::WorldGridLine::StartWorld {}
Center of the ribbon's first edge, in world units.

Related types: foundation::math::Vector3

Declared in modules/graphics/renderer/include/ludus/graphics/renderer/world_grid.hpp

EndWorld

foundation::math::Vector3 ludus::graphics::renderer::WorldGridLine::EndWorld {}
Center of the ribbon's last edge, in world units.

Related types: foundation::math::Vector3

Declared in modules/graphics/renderer/include/ludus/graphics/renderer/world_grid.hpp

HalfWidthWorld

foundation::math::Vector3 ludus::graphics::renderer::WorldGridLine::HalfWidthWorld {}
Half-width vector perpendicular to the line, in world units.

Related types: foundation::math::Vector3

Declared in modules/graphics/renderer/include/ludus/graphics/renderer/world_grid.hpp

Color

foundation::math::Vector4 ludus::graphics::renderer::WorldGridLine::Color {}
Straight linear RGBA guide color; alpha is one.

Related types: foundation::math::Vector4

Declared in modules/graphics/renderer/include/ludus/graphics/renderer/world_grid.hpp