Navigation
API > API/Plugins > API/Plugins/MeshPaintingToolset
Class for texture color painting tool. This paints to special textures stored on the mesh components. Behavior should be similar to vertex painting (per instance painting stored on components). But painting texture colors instead of vertex colors is a better fit for very dense mesh types such as used by nanite.
| Name | UMeshTextureColorPaintingTool |
| Type | class |
| Header File | /Engine/Plugins/MeshPainting/Source/MeshPaintingToolset/Public/MeshTexturePaintingTool.h |
| Include Path | #include "MeshTexturePaintingTool.h" |
Syntax
UCLASS ()
class UMeshTextureColorPaintingTool : public UMeshTexturePaintingTool
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UInteractiveTool → USingleSelectionTool → UMeshSurfacePointTool → UBaseBrushTool → UMeshTexturePaintingTool → UMeshTextureColorPaintingTool
Implements Interfaces
- IClickDragBehaviorTarget
- IModifierToggleBehaviorTarget
- IHoverBehaviorTarget
- IInputBehaviorSource
- IInteractiveToolCameraFocusAPI
- IMeshPaintSelectionInterface
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UMeshTextureColorPaintingTool() |
MeshTexturePaintingTool.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ColorProperties | TObjectPtr< UMeshTextureColorPaintingToolProperties > | MeshTexturePaintingTool.h |
|
|
| MeshPaintDummyTexture | TObjectPtr< UTexture > | MeshTexturePaintingTool.h |
|
Functions
Public
Protected
Overridden from UMeshTexturePaintingTool
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void CacheTexturePaintData() |
MeshTexturePaintingTool.h | ||
virtual bool CanPaintTextureToComponent
(
UTexture* InTexture, |
MeshTexturePaintingTool.h | ||
| MeshTexturePaintingTool.h | |||
virtual UTexture2D * GetSelectedPaintTexture
(
UMeshComponent const* InMeshComponent |
MeshTexturePaintingTool.h | ||
virtual int32 GetSelectedUVChannel
(
UMeshComponent const* InMeshComponent |
MeshTexturePaintingTool.h |
Overridden from UInteractiveTool
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Setup() |
MeshTexturePaintingTool.h |
Overridden from IMeshPaintSelectionInterface
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool AllowsMultiselect() |
MeshTexturePaintingTool.h | ||
virtual bool IsMeshAdapterSupported
(
TSharedPtr< IMeshPaintComponentAdapter > MeshAdapter |
MeshTexturePaintingTool.h |