Navigation
API > API/Runtime > API/Runtime/Core
| Name | FMusicalTime |
| Type | struct |
| Header File | /Engine/Source/Runtime/Core/Public/Misc/MusicalTime.h |
| Include Path | #include "Misc/MusicalTime.h" |
Syntax
struct FMusicalTime
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FMusicalTime () |
Misc/MusicalTime.h | ||
FMusicalTime
(
int32 InBar, |
Misc/MusicalTime.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Bar | int32 | IMPORTANT: If you change the struct data, ensure that you also update the version in NoExportTypes.h | Misc/MusicalTime.h | |
| TickInBar | int32 | Misc/MusicalTime.h | ||
| TicksPerBar | int32 | Misc/MusicalTime.h | ||
| TicksPerBeat | int32 | Misc/MusicalTime.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
double FractionalBar() |
Misc/MusicalTime.h | ||
double FractionalBeatInBar() |
Misc/MusicalTime.h | ||
bool IsValid() |
Verify that this musical time is valid to use | Misc/MusicalTime.h | |
bool Serialize
(
FArchive& Ar |
Serializes the given musical time from or into the specified archive | Misc/MusicalTime.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FMusicalTime FloorBar
(
const FMusicalTime& InMusicalTime |
Misc/MusicalTime.h | ||
static FMusicalTime FloorBeat
(
const FMusicalTime& InMusicalTime |
Misc/MusicalTime.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
double operator-
(
const FMusicalTime& Other |
Return fractional bars between two musical times | Misc/MusicalTime.h |