Magnum::DebugTools::ForceRendererOptions class

Force renderer options.

Contents

See ForceRenderer documentation for more information.

Public functions

auto color() const -> Color4 constexpr
Color of rendered arrow.
auto setColor(const Color4& color) -> ForceRendererOptions&
Set color of rendered arrow.
auto size() const -> Float constexpr
Size of rendered arrow.
auto scale() const -> Float deprecated constexpr
Size of rendered arrow.
auto setSize(Float size) -> ForceRendererOptions&
Set scale of rendered arrow.

Function documentation

ForceRendererOptions& Magnum::DebugTools::ForceRendererOptions::setColor(const Color4& color)

Set color of rendered arrow.

Returns Reference to self (for method chaining)

Default is 0xffffffff_rgbaf.

Float Magnum::DebugTools::ForceRendererOptions::scale() const constexpr

Size of rendered arrow.

ForceRendererOptions& Magnum::DebugTools::ForceRendererOptions::setSize(Float size)

Set scale of rendered arrow.

Returns Reference to self (for method chaining)

Default is 1.0f.