Navigation
API > API/Plugins > API/Plugins/MeshPaintingToolset
Inheritance Hierarchy
- UObject
- IInputBehaviorSource
- UInteractiveTool
- USingleSelectionTool
- UMeshSurfacePointTool
- UBaseBrushTool
- UMeshTexturePaintingTool
- UMeshTextureAssetPaintingTool
References
| Module | MeshPaintingToolset |
| Header | /Engine/Plugins/MeshPainting/Source/MeshPaintingToolset/Public/MeshTexturePaintingTool.h |
| Include | #include "MeshTexturePaintingTool.h" |
Syntax
UCLASS ()
class UMeshTextureAssetPaintingTool : public UMeshTexturePaintingTool
Remarks
Class for texture asset painting tool. This paints to texture assets directly from the mesh. The texture asset to paint is selected from the ones referenced in the mesh component's materials.
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | CycleTextures
(
int32 Direction |
Change selected texture to previous or next available. | |
| UTexture * | Get the selected paint texture, and return the modified overriden texture if currently painting. | ||
| bool | ShouldFilterTextureAsset
(
const FAssetData& AssetData |
Returns true if asset shouldn't be shown in UI because it is not in our paintable texture array. |
Overridden from UMeshTexturePaintingTool
| Type | Name | Description | |
|---|---|---|---|
| void | |||
| bool | CanPaintTextureToComponent
(
UTexture* InTexture, |
||
| void | GetModifiedTexturesToSave
(
TArray< UObject* >& OutTexturesToSave |
||
| UTexture2D * | GetSelectedPaintTexture
(
UMeshComponent const* InMeshComponent |
||
| int32 | GetSelectedUVChannel
(
UMeshComponent const* InMeshComponent |
Overridden from UInteractiveTool
| Type | Name | Description | |
|---|---|---|---|
| void | OnPropertyModified
(
UObject* PropertySet, |
Automatically called by UInteractiveToolPropertySet.OnModified delegate to notify Tool of child property set changes | |
| void | Setup () |
UInteractiveTool. |
Overridden from IMeshPaintSelectionInterface
| Type | Name | Description | |
|---|---|---|---|
| bool | |||
| bool | IsMeshAdapterSupported
(
TSharedPtr< IMeshPaintComponentAdapter > MeshAdapter |