Navigation
API > API/Plugins > API/Plugins/MeshModelingToolsExp > API/Plugins/MeshModelingToolsExp/UBakeMeshAttributeMapsToolBase
Description
Updates a tool property set's MapPreviewNamesList from the list of active map types. Also updates the MapPreview property if the current preview option is no longer available.
| Name | UpdatePreviewNames |
| Type | function |
| Header File | /Engine/Plugins/Experimental/MeshModelingToolsetExp/Source/MeshModelingToolsExp/Public/BakeMeshAttributeMapsToolBase.h |
| Include Path | #include "BakeMeshAttributeMapsToolBase.h" |
| Source | /Engine/Plugins/Experimental/MeshModelingToolsetExp/Source/MeshModelingToolsExp/Private/BakeMeshAttributeMapsToolBase.cpp |
void UpdatePreviewNames
(
const EBakeMapType MapTypes,
FString & MapPreview,
TArray < FString > & MapPreviewNamesList,
TMap < FString , FString > & MapPreviewNamesMap
)
Parameters
| Name | Remarks |
|---|---|
| MapTypes | the requested map types to compute |
| MapPreview | the map preview string property |
| MapPreviewNamesList | the stored list of map preview display names. |
| MapPreviewNamesMap | the stored map of map preview display names to enum string values. |