Geromatic / Midi-Unreal

Midi for Unreal Engine
129 stars 31 forks source link

Add flag to switch between real/platform clock and "game time" #8

Closed mattdw closed 7 years ago

mattdw commented 7 years ago

This gives MidiProcessor access to the game world, so that it can access game time rather than platform time, where that's preferred.

This allows correct triggering of events where rendering is not in real-time, particularly for video recording at large frame sizes. (I'm recording a sequence in realtime, then rendering to video at 8k at about 1fps.)

I'm not 100% sure on the API, especially the name of the UseRealClock option which is exposed to Blueprint. However, by default it behaves exactly the same as the current master version, so it seems pretty harmless.

Geromatic commented 7 years ago

thx ill look into the code..I may use delta ticks (as a parameter) on the process function. Your the second person that suggested using unreal time.

Geromatic commented 7 years ago

Added Game TIme / Real time cohice