Navigation
API > API/Plugins > API/Plugins/HarmonixMetasound > API/Plugins/HarmonixMetasound/UMusicClockComponent
Description
Get The Current Seconds per Bar Based on the current tempo, advance rate and time signature
0 if the clock is stopped Don't use this method, use GetCurrentBarsPerSecond instead if possible because this method returns zero when the clock is stopped rather than inf, which is what it should be.
| Name | GetCurrentSecondsPerBar |
| Type | function |
| Header File | /Engine/Plugins/Runtime/Harmonix/Source/HarmonixMetasound/Public/HarmonixMetasound/Components/MusicClockComponent.h |
| Include Path | #include "HarmonixMetasound/Components/MusicClockComponent.h" |
| Source | /Engine/Plugins/Runtime/Harmonix/Source/HarmonixMetasound/Private/HarmonixMetasound/Components/MusicClockComponent.cpp |
UFUNCTION (BlueprintPure, Category="MusicClock")
float GetCurrentSecondsPerBar() const