Navigation
API > API/Plugins > API/Plugins/MeshModelingToolsExp
Inheritance Hierarchy
- UObject
- IInputBehaviorSource
- UInteractiveTool
- UMultiSelectionTool
- UMultiSelectionMeshEditingTool
- UBakeMeshAttributeTool
- UBakeMeshAttributeMapsToolBase
- UBakeMeshAttributeMapsTool
- UBakeMultiMeshAttributeMapsTool
- UBakeMeshAttributeVertexTool
References
| Module | MeshModelingToolsExp |
| Header | /Engine/Plugins/Experimental/MeshModelingToolsetExp/Source/MeshModelingToolsExp/Public/BakeMeshAttributeTool.h |
| Include | #include "BakeMeshAttributeTool.h" |
Syntax
UCLASS ()
class UBakeMeshAttributeTool :
public UMultiSelectionMeshEditingTool ,
public IInteractiveToolExclusiveToolAPI ,
public IInteractiveToolManageGeometrySelectionAPI
Remarks
Base Mesh Bake tool
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bCheckTargetMeshTangents | ||
| const bool | bPreferPlatformData | Bake results update management | |
| bool | bValidTargetMeshTangents | ||
| FCurvatureMapSettings | CachedCurvatureMapSettings | ||
| FMeshPropertyMapSettings | CachedMeshPropertyMapSettings | ||
| FTexture2DSettings | CachedMultiTexture2DSettings | ||
| TArray< TSharedPtr< UE::Geometry::TImageBuilder< FVector4f >, ESPMode::ThreadSafe > > | CachedMultiTextures | ||
| FNormalMapSettings | CachedNormalMapSettings | ||
| FOcclusionMapSettings | CachedOcclusionMapSettings | ||
| FTexture2DSettings | CachedTexture2DSettings | ||
| TSharedPtr< UE::Geometry::TImageBuilder< FVector4f >, ESPMode::ThreadSafe > | CachedTextureImage | ||
| TObjectPtr< UBakeCurvatureMapToolProperties > | CurvatureSettings | ||
| TObjectPtr< UMaterialInstanceDynamic > | ErrorPreviewMaterial | ||
| TObjectPtr< UBakeMultiTexture2DProperties > | MultiTextureSettings | ||
| TObjectPtr< UBakeOcclusionMapToolProperties > | OcclusionSettings | Bake tool property sets | |
| EBakeOpState | OpState | Bake parameters | |
| float | SecondsBeforeWorkingMaterial | ||
| TSharedPtr< UE::Geometry::FDynamicMesh3, ESPMode::ThreadSafe > | TargetMesh | ||
| TSharedPtr< UE::Geometry::TMeshTangents< double >, ESPMode::ThreadSafe > | TargetMeshTangents | ||
| TObjectPtr< UBakeTexture2DProperties > | TextureSettings | ||
| TObjectPtr< UMaterialInstanceDynamic > | WorkingPreviewMaterial | Preview materials |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | ProcessComponentTextures
(
const UPrimitiveComponent* Component, |
Iterate through a primitive component's textures by material ID. | |
| int | SelectColorTextureToBake
(
const TArray< UTexture* >& Textures |
Utilities Given an array of textures associated with a material, use heuristics to identify the color/albedo texture. | |
| void | UpdateMultiTextureMaterialIDs
(
UToolTarget* Target, |
Find all source textures and material IDs for a given target. | |
| EBakeOpState | UpdateResult_Curvature
(
const FImageDimensions& Dimensions |
||
| EBakeOpState | UpdateResult_MeshProperty
(
const FImageDimensions& Dimensions |
||
| EBakeOpState | UpdateResult_MultiTexture
(
const FImageDimensions& Dimensions, |
||
| EBakeOpState | UpdateResult_Normal
(
const FImageDimensions& Dimensions |
||
| EBakeOpState | UpdateResult_Occlusion
(
const FImageDimensions& Dimensions |
||
| EBakeOpState | UpdateResult_TargetMeshTangents
(
EBakeMapType BakeType |
Update the OpState based on the validity of the target mesh tangents | |
| EBakeOpState | UpdateResult_Texture2DImage
(
const FImageDimensions& Dimensions, |
||
| bool | Compute validity of the Target Mesh tangents. |
Overridden from UInteractiveTool
| Type | Name | Description | |
|---|---|---|---|
| bool | CanAccept () |
||
| bool | HasAccept () |
||
| bool | HasCancel () |
||
| void | Setup () |
Called by ToolManager to initialize the Tool after ToolBuilder::BuildTool() has been called |
Overridden from IInteractiveToolManageGeometrySelectionAPI
| Type | Name | Description | |
|---|---|---|---|
| bool | IInteractiveToolManageGeometrySelectionAPI this tool won't update external geometry selection or change selection-relevant mesh IDs. |