Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UPrimitiveComponent
Description
Returns the material textures used to render this primitive for the given platform. Internally calls GetUsedMaterials() and GetUsedTextures() for each material.
Derived Overrides
| Name | GetUsedTextures |
| 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 |
virtual void GetUsedTextures
(
TArray < UTexture * > & OutTextures,
EMaterialQualityLevel::Type QualityLevel
)
Parameters
| Name | Remarks |
|---|---|
| OutTextures | [out] The list of used textures. |