#include <MRImGuiMeasurementIndicators.h>
◆ get()
| float MR::ImGuiMeasurementIndicators::Stipple::Segment::get |
( |
bool | end | ) |
const |
|
inlinenodiscard |
| float MR::ImGuiMeasurementIndicators::Stipple::Segment::a = 0 |
This is the start and end positions of this segment, from 0 to 1. This is automatically multiplied by patternLength. You must ensure 0 <= a < b <= 1, and if there are multiple segments, that segments[i].b < segments[i + 1].a. The only exception to this is that the b of the last segment can be less than the a of the last segment, as long as it's also less than the a of the first segment. This can help with pattern wraparound.
| float MR::ImGuiMeasurementIndicators::Stipple::Segment::b = 0 |
The documentation for this struct was generated from the following file: