Navigation
Unreal Engine C++ API Reference > Plugins > MeshModelingToolsExp
Inheritance Hierarchy
- UBakeMeshAttributeTool
- IGenericDataOperatorFactory
- UBakeMeshAttributeMapsToolBase
- UBakeMeshAttributeMapsTool
- UBakeMultiMeshAttributeMapsTool
References
Module | MeshModelingToolsExp |
Header | /Engine/Plugins/Experimental/MeshModelingToolsetExp/Source/MeshModelingToolsExp/Public/BakeMeshAttributeMapsToolBase.h |
Include | #include "BakeMeshAttributeMapsToolBase.h" |
Syntax
UCLASS&40;&41;
class UBakeMeshAttributeMapsToolBase :
public UBakeMeshAttributeTool,
public UE::Geometry::IGenericDataOperatorFactory< UE::Geometry::FMeshMapBaker >
Remarks
Base Bake Maps tool
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
FBakeAnalytics | BakeAnalytics | |
![]() ![]() |
TObjectPtr< UMaterialInstanceDynamic > | BentNormalPreviewMaterial | |
![]() |
FBakeSettings | CachedBakeSettings | |
![]() ![]() |
TMap< EBakeMapType, TObjectPtr< UTexture2D > > | CachedMaps | Internal cache of bake texture results. |
![]() |
TSharedPtr< UE::Geometry::TImageBuilder< FVector4f >, ESPMode::ThreadSafe > | CachedSampleFilterMask | |
![]() |
TUniquePtr< TGenericDataBackgroundCompute< UE::Geometry::FMeshMapBaker > > | Compute | Background compute |
![]() ![]() |
TObjectPtr< UTexture2D > | EmptyColorMapBlack | |
![]() ![]() |
TObjectPtr< UTexture2D > | EmptyColorMapWhite | |
![]() ![]() |
TObjectPtr< UTexture2D > | EmptyNormalMap | Empty maps are shown when nothing is computed |
![]() ![]() |
TObjectPtr< UMaterialInstanceDynamic > | PreviewMaterial | |
![]() ![]() |
TObjectPtr< UPreviewMesh > | PreviewMesh | Preview mesh and materials |
![]() |
TSharedPtr< TArray< int32 >, ESPMode::ThreadSafe > | TargetMeshUVCharts | |
![]() ![]() |
TObjectPtr< UBakeVisualizationProperties > | VisualizationProps | Tool property sets |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | CreateTextureAssets
(
const TMap< EBakeMapType, TObjectPtr< UTexture2D >>& Textures, |
Create texture assets from our result map of Texture2D |
![]() ![]() |
void | GatherAnalytics
(
const UE::Geometry::FMeshMapBaker& Result, |
Records bake timing and settings data for analytics. |
![]() ![]() |
void | GatherAnalytics
(
FBakeAnalytics::FMeshSettings& Data |
Computes the NumTargetMeshTris, NumDetailMesh and NumDetailMeshTris analytics. |
![]() ![]() ![]() |
FString | ||
![]() ![]() |
EBakeMapType | GetMapTypes
(
const int32& MapTypes |
Process a bitfield into an EBakeMapType. |
![]() ![]() |
void | GetTextureName
(
EBakeMapType MapType, |
|
![]() ![]() |
UE::Geometry::FTexture2DBuilder::ETextureType | GetTextureType
(
EBakeMapType MapType, |
Utilities |
![]() |
void | ||
![]() |
void | Invalidates the background compute operator. | |
![]() |
void | OnMapsUpdated
(
const TUniquePtr< UE::Geometry::FMeshMapBaker >& NewResult |
Retrieves the result of the FMeshMapBaker and generates UTexture2D into the CachedMaps. |
![]() |
void | OnMapTypesUpdated
(
EBakeMapType ResultMapTypes, |
To be invoked by client when bake map types change. |
![]() |
void | PostSetup () |
Post-client setup function. |
![]() ![]() |
void | RecordAnalytics
(
const FBakeAnalytics& Data, |
Posts an analytics event using the given analytics struct. |
![]() |
void | ResetPreview () |
Resets the preview material parameters to their default state. |
![]() |
void | UpdatePreview
(
EBakeMapType PreviewMapType |
Update the preview material parameters for a given a Bake type. |
![]() |
void | UpdatePreview
(
const FString& PreviewDisplayName, |
Update the preview material parameters for a given Bake type display name. |
![]() |
void | UpdatePreviewNames
(
const EBakeMapType MapTypes, |
Updates a tool property set's MapPreviewNamesList from the list of active map types. |
![]() ![]() |
void | UpdateResult () |
Process dirty props and update background compute. Invoked during Render. |
![]() |
EBakeOpState | UpdateResult_SampleFilterMask
(
UTexture2D* SampleFilterMask |
|
![]() ![]() |
void | Updates the preview material on the preview mesh with the computed results. |
Overridden from UMultiSelectionMeshEditingTool
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | OnShutdown
(
EToolShutdownType ShutdownType |
Overridden from UInteractiveTool
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | OnTick
(
float DeltaTime |
Allow the Tool to do any necessary processing on Tick |
![]() ![]() |
void | Render
(
IToolsContextRenderAPI* RenderAPI |
Allow the Tool to do any custom drawing (ie via PDI/RHI) |
![]() ![]() |
void | Setup () |
Called by ToolManager to initialize the Tool after ToolBuilder::BuildTool() has been called |
Overridden from IGenericDataOperatorFactory
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
TUniquePtr< UE::Geometry::TGenericDataOperator< UE::Geometry::FMeshMapBaker > > |
Classes
Type | Name | Description | |
---|---|---|---|
![]() |
FBakeAnalytics | Analytics | |
![]() |
FBakeSettings | Bake parameters |