FAxisViewportInt32::GetScale

Current scale factor between Value units (samples) and Slate units (pixels), in pixels per sample.

Windows
MacOS
Linux

References

Module

TraceInsights

Header

/Engine/Source/Developer/TraceInsights/Public/Insights/ViewModels/AxisViewportInt32.h

Include

#include "Insights/ViewModels/AxisViewportInt32.h"

Syntax

float GetScale() const

Remarks

Current scale factor between Value units (samples) and Slate units (pixels), in pixels per sample. [px/sample] If Scale > 1, it represents number of pixels for one sample, otherwise, the inverse of Scale represents number of samples in one pixel.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss