You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
This function is used to get the ActorPosition stored in the scene, and used by material expressions. This is expected to be the position of the actor at the root of the component hierachy. Added a component flag that allows us to early out of the walk of the component hierachy. Set the flag on the ALevelInstanceEditorInstanceActor root component so that these actors are ignored. This fixes a bug where Level Instances add this actor into the hierachy only in the editor, meaning that the results of the material rendering would change between editor and game. [CL 22546733 by jeremy moore in ue5-main branch]