Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Components > API/Runtime/Engine/Components/UPrimitiveComponent
- UPrimitiveComponent::GetShadowIndirectOnly()
- UStaticMeshComponent::GetShadowIndirectOnly()
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Components/PrimitiveComponent.h |
| Include | #include "Components/PrimitiveComponent.h" |
virtual bool GetShadowIndirectOnly&40;&41; const
Remarks
Disable dynamic shadow casting if the primitive only casts indirect shadows, since dynamic shadows are always shadowing direct lighting