Navigation
API > API/Plugins > API/Plugins/VirtualHeightfieldMesh > API/Plugins/VirtualHeightfieldMesh/UVirtualHeightfieldMeshComponent > API/Plugins/VirtualHeightfieldMesh/UVirtualHeightfieldMeshComponent/GetMaterial
- UPrimitiveComponent::GetMaterial()
- UVirtualHeightfieldMeshComponent::GetMaterial()
References
Module | VirtualHeightfieldMesh |
Header | /Engine/Plugins/Experimental/VirtualHeightfieldMesh/Source/VirtualHeightfieldMesh/Public/VirtualHeightfieldMeshComponent.h |
Include | #include "VirtualHeightfieldMeshComponent.h" |
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. |