I’m a vfx artist who has been doing a lot of UI stuff recently.
I’m quite used to using the time node in materials and injecting a start time from blueprint in order to have material effects start and do something over time on command. Along the lines of this type of behaviour incase I didn’t describe it well enough: [link text][1]
I noticed today while attempting to create some effects in a UI material, that time seems to be represented differently on materials used in Widget Blueprints than it does on materials used on HUD Blueprints, or on static meshes, or particles.
I’m wondering if this is a bug, or intentional, and if it’s intentional what the reasoning is behind it.
What happens is:
- Materials using Time generally seem to report the time in seconds since the game has started. it resets when you click the play button in the editor
- Materials on Widgets, specifically, using Time seem to report the time in seconds since the editor was launched. it resets only when you launch the unreal exe file.
See the below image:
- The number on the left is using a draw material node to draw a UI material in a HUD (specifically on the Hud_forPhysicsDemo in the Content Examples
- The number in the middle is using a surface material on a cube in the scene
- The number on the top right is using a UI material on a widget