1.5 - Event Graph

1.5BlueprintOverview.png

In this example, we have a rocket mesh that has colored highlights. In the Details panel, we can see that there are two available colors we can set. One is set in the Construction Script and the other is set in the Event Graph. The example shows the difference between the two graphs and when they execute. If we change the property for the Construction Script, we see an immediate change in the editor. However, if we change the color for the Event Graph, there is no change until we play or simulate.

Construction Script

In the Construction Script for the object, we create and apply our Dynamic Material Instance. We also set the appropriate color for the Construction Script variable, which has been made public and therefore can be seen in the Details panel.

Event Graph

In the Event Graph, we have a Timeline that blends from the color set in the Construction Script to the one set for the Event Graph variable, which is also public and visible in the Details panel. The Timeline is used just to give a smooth transition from one color to the other. For more information on Timelines, please see the Timelines documentation .