Navigation
API > API/Runtime > API/Runtime/Landscape > API/Runtime/Landscape/ULandscapeComponent
- UPrimitiveComponent::GetMaterial()
- ULandscapeComponent::GetMaterial()
References
Module | Landscape |
Header | /Engine/Source/Runtime/Landscape/Classes/LandscapeComponent.h |
Include | #include "LandscapeComponent.h" |
Source | /Engine/Source/Runtime/Landscape/Private/LandscapeEdit.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. |