Navigation
API > API/Plugins > API/Plugins/ModelingComponents > API/Plugins/ModelingComponents/AssetUtils
References
| Module | ModelingComponents |
| Header | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/AssetUtils/Texture2DUtil.h |
| Include | #include "AssetUtils/Texture2DUtil.h" |
| Source | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Private/AssetUtils/Texture2DUtil.cpp |
namespace UE
{
namespace AssetUtils
{
bool UE&58;&58;AssetUtils&58;&58;ConvertToSingleChannel
&40;
UTexture2D &42; TextureMap
&41;
}
}
Remarks
Convert input UTexture2D to single-channel. Assumption is it has more than one channel. Red channel is used. true on success