Hi.
I want to change a texture parameter (Normal) in “Editor Mode” (not only in Gameplay mode) programmaticaly or by blueprint for each 2 seconds. I managed to do it in Gameplay mode, but not in Editor mode.
First of all,
You might be confused, since in editor mode actor’s don’t tick.
I overcome this situation by applying these techniques, so my actors can tick even in editor mode:
or
programmatically by overriding ShouldTickIfViewportsOnly() method to always return true
virtual bool ShouldTickIfViewportsOnly() const override;
With the help of these, my actors can tick even in Editor…
My blueprint flow is like that:
Event Tick → 2 seconds passed? → Change Material Parameter → Log Something
When I hit “Play”, I see the the material parameter changes accordingly and logged string. No problem in this mode.
When in editor mode (not playing), I see the logged string, which means “Change Material Paramater” is also working because string log is a later step but I don’t see the material parameter update reflected to the actor.
What should I do in order to see the material parameter change in editor mode?