Navigation
API > API/Runtime > API/Runtime/GeometryCollectionEngine > API/Runtime/GeometryCollectionEngine/GeometryCollection > API/Runtime/GeometryCollectionEngine/GeometryCollection/UGeometryCollect-
- UPrimitiveComponent::GetMaterial()
- UMeshComponent::GetMaterial()
- UGeometryCollectionComponent::GetMaterial()
References
Module | GeometryCollectionEngine |
Header | /Engine/Source/Runtime/Experimental/GeometryCollectionEngine/Public/GeometryCollection/GeometryCollectionComponent.h |
Include | #include "GeometryCollection/GeometryCollectionComponent.h" |
Source | /Engine/Source/Runtime/Experimental/GeometryCollectionEngine/Private/GeometryCollection/GeometryCollectionComponent.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. |