Hello,
i am using the RayCastLidar to detect Objects. I want to get Material Parameters from the HitInfo. I try to acces like that:
const float Roughness3 = HitInfo.GetComponent()->GetMaterial(HitInfo.ElementIndex)->GetBaseMaterial()->Roughness;
The Problem is i dont get the Roughness as an float. Do somebody know how to get the value as a float?