Module |
|
Header |
/Engine/Source/Editor/Sequencer/Public/SequencerTimeSliderController.h |
Include |
#include "SequencerTimeSliderController.h" |
float DetermineOptimalSpacing
(
float InPixelsPerInput,
uint32 MinTick,
float MinTickSpacing
) const
Determines the optimal spacing between tick marks in the slider for a given pixel density Increments until a minimum amount of slate units specified by MinTick is reached
the optimal spacing in time units
Parameter |
Description |
---|---|
InPixelsPerInput |
The density of pixels between each input |
MinTick |
The minimum slate units per tick allowed |
MinTickSpacing |
The minimum tick spacing in time units allowed |