UKismetSystemLibrary::GetRenderingDetailMode

Get the clamped state of r.DetailMode, see console variable help (allows for scalability, cannot be used in construction scripts) 0: low, show objects with DetailMode low 1: medium, show objects with DetailMode medium or below 2: high, show objects with DetailMode high or below 3: epic, show all objects