Navigation
API > API/Editor > API/Editor/MeshPaint
References
| Module | MeshPaint |
| Header | /Engine/Source/Editor/MeshPaint/Public/MeshPaintTypes.h |
| Include | #include "MeshPaintTypes.h" |
Syntax
struct FPaintTexture2DData
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bIsPaintingTexture2DModified | ||
| TObjectPtr< UTextureRenderTarget2D > | CloneRenderTargetTexture | Render target texture used as an input while painting that contains a clone of the original image | |
| TObjectPtr< UTextureRenderTarget2D > | PaintBrushRenderTargetTexture | Optional render target texture used as an input while painting that contains a clone of the texture painting brush | |
| TArray< TObjectPtr< UMeshComponent > > | PaintedComponents | List of component we are painting on | |
| TArray< TObjectPtr< UMaterialInterface > > | PaintingMaterials | List of materials we are painting on | |
| TObjectPtr< UTexture2D > | PaintingTexture2D | The original texture that we're painting | |
| UTexture2D * | PaintingTexture2DDuplicate | A copy of the original texture we're painting, used for restoration. | |
| TObjectPtr< UTextureRenderTarget2D > | PaintRenderTargetTexture | Render target texture for painting | |
| TObjectPtr< UTexture2D > | ScratchTexture | Texture used to store the paint modifications for the transactions |
Constructors
| Type | Name | Description | |
|---|---|---|---|
| Default ctor | |||
FPaintTexture2DData
(
UTexture2D* InPaintingTexture2D, |
|||
FPaintTexture2DData
(
UTexture2D* InPaintingTexture2D, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddReferencedObjects
(
FReferenceCollector& Collector |
Serializer |