Navigation
Unreal Engine C++ API Reference > 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< UTe... | CloneRenderTargetTexture | Render target texture used as an input while painting that contains a clone of the original image |
TObjectPtr< UTe... | PaintBrushRenderTargetTexture | Optional render target texture used as an input while painting that contains a clone of the texture painting brush |
TArray< TObject... | PaintedComponents | List of component we are painting on |
TArray< TObject... | PaintingMaterials | List of materials we are painting on |
TObjectPtr< UTe... | PaintingTexture2D | The original texture that we're painting |
UTexture2D *... | PaintingTexture2DDuplicate | A copy of the original texture we're painting, used for restoration. |
TObjectPtr< UTe... | PaintRenderTargetTexture | Render target texture for painting |
TObjectPtr< UTe... | ScratchTexture | Texture used to store the paint modifications for the transactions |
Constructors
Type | Name | Description |
---|---|---|
FPaintTexture2DData () | Default ctor | |
FPaintTexture2DData () | ||
FPaintTexture2DData ( UTexture2D* InPaintingTexture2..., bool InbIsPaintingTexture2DModified ) | ||
FPaintTexture2DData ( UTexture2D* InPaintingTexture2..., bool InbIsPaintingTexture2DModified ) |
Functions
Type | Name | Description |
---|---|---|
void | AddReferencedObjects ( FReferenceCollector& Collector ) | Serializer |