Navigation
API > API/Plugins > API/Plugins/ModelingComponents
Description
Convert input UTexture2D to single-channel. Assumption is it has more than one channel. Red channel is used.
| Name | UE::AssetUtils::ConvertToSingleChannel |
| Type | function |
| Header File | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/AssetUtils/Texture2DUtil.h |
| Include Path | #include "AssetUtils/Texture2DUtil.h" |
| Source | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Private/AssetUtils/Texture2DUtil.cpp |
namespace UE
{
namespace AssetUtils
{
bool UE::AssetUtils::ConvertToSingleChannel
(
UTexture2D * TextureMap
)
}
}
true on success