Skip to content

ludus::graphics::renderer::SelectionOutlineView

Ludus Wiki · API overview · Browse API

Struct

Everything one frame of a selection outline depends on besides the mesh.

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

#include <ludus/graphics/renderer/selection_outline.hpp>
struct ludus::graphics::renderer::SelectionOutlineView final

Fields

MeshToClip

foundation::math::Matrix4 ludus::graphics::renderer::SelectionOutlineView::MeshToClip = foundation::math::Matrix4::Identity()
Finite mesh-local to homogeneous clip matrix, the same matrix that places the mesh in the image the outline is drawn over. The outline is the mesh's silhouette in that image.

Related types: foundation::math::Matrix4

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

Width

foundation::uint32 ludus::graphics::renderer::SelectionOutlineView::Width = 0
Positive physical width of the target the outline is drawn into.

Related types: foundation::uint32

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

Height

foundation::uint32 ludus::graphics::renderer::SelectionOutlineView::Height = 0
Positive physical height of the target the outline is drawn into.

Related types: foundation::uint32

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

Style

SelectionOutlineStyle ludus::graphics::renderer::SelectionOutlineView::Style {}
Stroke colours and widths.

Related types: SelectionOutlineStyle

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