Choose your operating system:
Windows
macOS
Linux
| UPrimitiveComponent::SetMaterial()
|
Module |
|
Header |
/Engine/Plugins/Experimental/Water/Source/Runtime/Public/WaterMeshComponent.h |
Include |
#include "WaterMeshComponent.h" |
Source |
/Engine/Plugins/Experimental/Water/Source/Runtime/Private/WaterMeshComponent.cpp |
virtual void SetMaterial
(
int32 ElementIndex,
UMaterialInterface * Material
)
Changes the material applied to an element of the mesh.
the material used by the indexed element of this mesh.
Parameter |
Description |
---|---|
ElementIndex |
The element to access the material of. |