FMaterialUtilities::ExportLandscapeMaterial

Flattens specified landscape material

Unreal Engine C++ API Reference > Developer > MaterialUtilities > FMaterialUtilities > ExportLandscapeMaterial

References

   
Module MaterialUtilities
Header /Engine/Source/Developer/MaterialUtilities/Public/MaterialUtilities.h
Include #include "MaterialUtilities.h"
Source /Engine/Source/Developer/MaterialUtilities/Private/MaterialUtilities.cpp
static bool ExportLandscapeMaterial
(
    const [ALandscapeProxy](API\Runtime\Landscape\ALandscapeProxy) * InLandscape,
    const [TSet](API\Runtime\Core\Containers\TSet)< [FPrimitiveComponentId](API\Runtime\Engine\FPrimitiveComponentId) > & HiddenPrimitives,
    [FFlattenMaterial](API\Developer\MaterialUtilities\FFlattenMaterial) & OutFlattenMaterial
)

Remarks

Flattens specified landscape material Whether operation was successful

Parameters

Name Description
InLandscape Target landscape
HiddenPrimitives Primitives to hide while rendering scene to texture
OutFlattenMaterial Output flattened material

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library