Navigation
API > API/Plugins > API/Plugins/GeometryCache > API/Plugins/GeometryCache/UGeometryCacheComponent
- UPrimitiveComponent::GetMaterial()
- UMeshComponent::GetMaterial()
- UGeometryCacheComponent::GetMaterial()
References
| Module | GeometryCache |
| Header | /Engine/Plugins/Runtime/GeometryCache/Source/GeometryCache/Classes/GeometryCacheComponent.h |
| Include | #include "GeometryCacheComponent.h" |
| Source | /Engine/Plugins/Runtime/GeometryCache/Source/GeometryCache/Private/GeometryCacheComponent.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. |