Navigation
API > API/Plugins > API/Plugins/HairStrandsCore > API/Plugins/HairStrandsCore/UGroomComponent > API/Plugins/HairStrandsCore/UGroomComponent/GetMaterial
- UPrimitiveComponent::GetMaterial()
- UMeshComponent::GetMaterial()
- UGroomComponent::GetMaterial()
References
Module | HairStrandsCore |
Header | /Engine/Plugins/Runtime/HairStrands/Source/HairStrandsCore/Public/GroomComponent.h |
Include | #include "GroomComponent.h" |
Source | /Engine/Plugins/Runtime/HairStrands/Source/HairStrandsCore/Private/GroomComponent.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. |