Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UPrimitiveComponent
Description
Examines the used materials (GetUsedMaterials) and returns a descriptor. This may be called when there is no proxy created which can be useful. But will use the information in the proxy if it is present.
| Name | GetUsedMaterialPropertyDesc |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Components/PrimitiveComponent.h |
| Include Path | #include "Components/PrimitiveComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Components/PrimitiveComponent.cpp |
FPrimitiveMaterialPropertyDescriptor GetUsedMaterialPropertyDesc
(
ERHIFeatureLevel::Type FeatureLevel
) const