Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Components > API/Runtime/Engine/Components/UPrimitiveComponent
- UPrimitiveComponent::UsesOnlyUnlitMaterials()
- UStaticMeshComponent::UsesOnlyUnlitMaterials()
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Components/PrimitiveComponent.h |
| Include | #include "Components/PrimitiveComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Components/PrimitiveComponent.cpp |
virtual bool UsesOnlyUnlitMaterials() const
Remarks
Returns true if only unlit materials are used for rendering, false otherwise.