UWaterMeshComponent::GetWaterMaterialRelevance

Use this instead of GetMaterialRelevance, since this one will go over all materials from all tiles

Choose your operating system:

Windows

macOS

Linux

References

Module

Water

Header

/Engine/Plugins/Experimental/Water/Source/Runtime/Public/WaterMeshComponent.h

Include

#include "WaterMeshComponent.h"

Source

/Engine/Plugins/Experimental/Water/Source/Runtime/Private/WaterMeshComponent.cpp

Syntax

FMaterialRelevance GetWaterMaterialRelevance
(
    ERHIFeatureLevel::Type InFeatureLevel
) const

Remarks

Use this instead of GetMaterialRelevance, since this one will go over all materials from all tiles