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 scale() const -> Float constexpr
Scale 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.

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

Set scale of rendered arrow.

Returns Reference to self (for method chaining)

Default is 1.0f.