Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Components > UPrimitiveComponent
- UPrimitiveComponent::GetMaterial()
- UDataflowComponent::GetMaterial()
- UGeometryCacheComponent::GetMaterial()
- UMaterialBillboardComponent::GetMaterial()
- PAPER2UPaperSpriteComponent::GetMaterial()
- UMeshComponent::GetMaterial()
- UGeometryCacheComponent::GetMaterial()
- PAPER2UPaperSpriteComponent::GetMaterial()
- UWidgetComponent::GetMaterial()
- PAPER2UPaperGroupedSpriteComponent::GetMaterial()
- PAPER2UPaperTileMapComponent::GetMaterial()
- PAPER2UPaperFlipbookComponent::GetMaterial()
- UAppleARKitFaceMeshComponent::GetMaterial()
- UGroomComponent::GetMaterial()
- UBaseDynamicMeshComponent::GetMaterial()
- UGeometryCollectionComponent::GetMaterial()
- ULidarPointCloudComponent::GetMaterial()
- UStaticMeshComponent::GetMaterial()
- USkinnedMeshComponent::GetMaterial()
- UModelComponent::GetMaterial()
- UImagePlateComponent::GetMaterial()
- UWidgetComponent::GetMaterial()
- PAPER2UPaperGroupedSpriteComponent::GetMaterial()
- PAPER2UPaperTileMapComponent::GetMaterial()
- UMRMeshComponent::GetMaterial()
- UVirtualHeightfieldMeshComponent::GetMaterial()
- UTextRenderComponent::GetMaterial()
- PAPER2UPaperFlipbookComponent::GetMaterial()
- UAppleARKitFaceMeshComponent::GetMaterial()
- UGroomComponent::GetMaterial()
- UBaseDynamicMeshComponent::GetMaterial()
- UGeometryCollectionComponent::GetMaterial()
- ULidarPointCloudComponent::GetMaterial()
- UStaticMeshComponent::GetMaterial()
- ULandscapeComponent::GetMaterial()
- USkinnedMeshComponent::GetMaterial()
- UParticleSystemComponent::GetMaterial()
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 UMaterialInterface &42; GetMaterial
&40;
int32 ElementIndex
&41; const
Remarks
Returns the material used by the element at the specified index the material used by the indexed element of this mesh.
Parameters
Name | Description |
---|---|
ElementIndex | The element to access the material of. |