class
#include <Magnum/DebugTools/ForceRenderer.h>
ForceRendererOptions Force renderer options.
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 in 2019.10 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
.
ForceRendererOptions& Magnum:: DebugTools:: ForceRendererOptions:: setSize(Float size)
Set scale of rendered arrow.
Returns | Reference to self (for method chaining) |
---|
Default is 1.0f
.