FFoliageEditUtility::DuplicateFoliageTypeToNewPackage

Copies the provided FoliageType to a new asset

Unreal Engine C++ API Reference > Editor > FoliageEdit > FFoliageEditUtility

References

   
Module FoliageEdit
Header /Engine/Source/Editor/FoliageEdit/Public/FoliageEditUtility.h
Include #include "FoliageEditUtility.h"
Source /Engine/Source/Editor/FoliageEdit/Private/FoliageEditUtility.cpp
static [UFoliageType](API\Runtime\Foliage\UFoliageType) * DuplicateFoliageTypeToNewPackage
(
    const [FString](API\Runtime\Core\Containers\FString) & InPackageName,
    [UFoliageType](API\Runtime\Foliage\UFoliageType) * InFoliageType
)

Remarks

Copies the provided FoliageType to a new asset The new FoliageType

Parameters

Name Description
InPackageName The name of the new asset
InFoliageType The FoliageType to copy

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library