how get at runtime landscape material i try do it
return Cast(Cast(Hit.GetActor())->LandscapeMaterial->GetMaterial());
but it code always return null
how get at runtime landscape material i try do it
return Cast(Cast(Hit.GetActor())->LandscapeMaterial->GetMaterial());
but it code always return null