Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UStaticMeshComponent
Description
Returns the material textures used to render this primitive for the given platform. Internally calls GetUsedMaterials() and GetUsedTextures() for each material.
Virtual Inheritance
- UPrimitiveComponent::GetUsedTextures → UStaticMeshComponent::GetUsedTextures
| Name | GetUsedTextures |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Components/StaticMeshComponent.h |
| Include Path | #include "Components/StaticMeshComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Components/StaticMeshComponent.cpp |
virtual void GetUsedTextures
(
TArray < UTexture * > & OutTextures,
EMaterialQualityLevel::Type QualityLevel
)
Parameters
| Name | Remarks |
|---|---|
| OutTextures | [out] The list of used textures. |