Hi,
I am very confused by the following assignment in this lecture:
FCollisionQueryParams QueryParams(FName(TEXT("")), false, GetOwner());
Initially to me this looked like a syntax error, especially because no variable assigment via =
seems to have taken place.
I was expecting the following syntax instead and trying this works fine:
FCollisionQueryParams QueryParams = FCollisionQueryParams(FName(TEXT("")), false, GetOwner());
Is the form used in the lecture a shorthand syntax for this typical assignment + constructor call? I don’t recall seeing it explained in previous lectures.
I would appreciate any explanation or links to documentation or previous lectures that explains how this works.
Thanks!