Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UPrimitiveComponent
Description
Determines the DPG the primitive's primary elements are drawn in. Even if the primitive's elements are drawn in multiple DPGs, a primary DPG is needed for occlusion culling and shadow projection.
Derived Overrides
| Name | GetStaticDepthPriorityGroup |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Components/PrimitiveComponent.h |
| Include Path | #include "Components/PrimitiveComponent.h" |
virtual ESceneDepthPriorityGroup GetStaticDepthPriorityGroup() const
The DPG the primitive's primary elements will be drawn in.