UKismetSystemLibrary::GetRenderingDetailMode
#include "Kismet/KismetSystemLibrary.h"
Access: public
Specifiers: staticUFUNCTIONBlueprintPure
Description
Returns the clamped state of the r.DetailMode console variable: 0=low, 1=medium, 2=high, 3=epic.
Caveats & Gotchas
- • Cannot be used in construction scripts — flagged UnsafeDuringActorConstruction because the scalability CVar state isn't guaranteed to be finalized yet.
- • Reflects a scalability setting, not an engine version or platform capability; two different machines can return different values for the same project.
- • The returned integer isn't a named enum — you must map the 0-3 values yourself (low/medium/high/epic) as documented in the header.
Signature
static int32 GetRenderingDetailMode() Return Type
int32 Example
Branch behavior on detail mode C++
if (UKismetSystemLibrary::GetRenderingDetailMode() >= 2)
{
// Enable high-detail-only effects
} Tags
Version History
Introduced in: 4.0
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?