Navigation
API > API/Plugins > API/Plugins/MeshPaintingToolset
| Name | UMeshVertexPaintingTool |
| Type | class |
| Header File | /Engine/Plugins/MeshPainting/Source/MeshPaintingToolset/Public/MeshVertexPaintingTool.h |
| Include Path | #include "MeshVertexPaintingTool.h" |
Syntax
UCLASS (MinimalAPI, Abstract)
class UMeshVertexPaintingTool :
public UBaseBrushTool ,
public IMeshPaintSelectionInterface
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UInteractiveTool → USingleSelectionTool → UMeshSurfacePointTool → UBaseBrushTool → UMeshVertexPaintingTool
Implements Interfaces
- IClickDragBehaviorTarget
- IModifierToggleBehaviorTarget
- IHoverBehaviorTarget
- IInputBehaviorSource
- IInteractiveToolCameraFocusAPI
- IMeshPaintSelectionInterface
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UMeshVertexPaintingTool() |
MeshVertexPaintingTool.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bArePainting | bool | MeshVertexPaintingTool.h | ||
| bCachedClickRay | bool | MeshVertexPaintingTool.h | ||
| bCachedForceLOD | bool | Whether or not a specific LOD level should be forced | MeshVertexPaintingTool.h | |
| bInDrag | bool | MeshVertexPaintingTool.h | ||
| bResultValid | bool | MeshVertexPaintingTool.h | ||
| bStampPending | bool | MeshVertexPaintingTool.h | ||
| CachedLODIndex | int32 | Current LOD index used for painting / forcing | MeshVertexPaintingTool.h | |
| InitialMeshArea | double | MeshVertexPaintingTool.h | ||
| LastBestHitResult | FHitResult | MeshVertexPaintingTool.h | ||
| OnPaintingFinishedDelegate | FSimpleDelegate | MeshVertexPaintingTool.h | ||
| PendingClickRay | FRay | MeshVertexPaintingTool.h | ||
| PendingClickScreenPosition | FVector2D | MeshVertexPaintingTool.h | ||
| PendingStampRay | FRay | MeshVertexPaintingTool.h | ||
| SelectionMechanic | TObjectPtr< UMeshPaintSelectionMechanic > | MeshVertexPaintingTool.h |
|
|
| VertexProperties | TObjectPtr< UMeshVertexPaintingToolProperties > | MeshVertexPaintingTool.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void CycleMeshLODs
(
int32 Direction |
MeshVertexPaintingTool.h | ||
int32 GetCachedLODIndex() |
MeshVertexPaintingTool.h | ||
int32 GetMaxLODIndexToPaint() |
MeshVertexPaintingTool.h | ||
void LODPaintStateChanged
(
const bool bLODPaintingEnabled |
MeshVertexPaintingTool.h | ||
FSimpleDelegate & OnPaintingFinished() |
MeshVertexPaintingTool.h | ||
void PaintLODChanged() |
MeshVertexPaintingTool.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void SetAdditionalPaintParameters
(
FMeshPaintParameters& InPaintParameters |
MeshVertexPaintingTool.h |
Overridden from UBaseBrushTool
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual double EstimateMaximumTargetDimension() |
MeshVertexPaintingTool.h |
Overridden from UMeshSurfacePointTool
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool HitTest
(
const FRay& Ray, |
MeshVertexPaintingTool.h | ||
virtual void OnBeginDrag
(
const FRay& Ray |
MeshVertexPaintingTool.h | ||
virtual void OnEndDrag
(
const FRay& Ray |
MeshVertexPaintingTool.h | ||
virtual void OnUpdateDrag
(
const FRay& Ray |
MeshVertexPaintingTool.h |
Overridden from UInteractiveTool
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool CanAccept() |
MeshVertexPaintingTool.h | ||
virtual bool HasAccept() |
MeshVertexPaintingTool.h | ||
virtual bool HasCancel() |
MeshVertexPaintingTool.h | ||
| MeshVertexPaintingTool.h | |||
virtual void OnTick
(
float DeltaTime |
MeshVertexPaintingTool.h | ||
virtual void Render
(
IToolsContextRenderAPI* RenderAPI |
MeshVertexPaintingTool.h | ||
virtual void Setup() |
MeshVertexPaintingTool.h | ||
virtual void Shutdown
(
EToolShutdownType ShutdownType |
MeshVertexPaintingTool.h |
Overridden from IClickDragBehaviorTarget
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FInputRayHit CanBeginClickDragSequence
(
const FInputDeviceRay& PressPos |
MeshVertexPaintingTool.h |
Overridden from IModifierToggleBehaviorTarget
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void OnUpdateModifierState
(
int ModifierID, |
MeshVertexPaintingTool.h |
Overridden from IMeshPaintSelectionInterface
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool AllowsMultiselect() |
MeshVertexPaintingTool.h | ||
virtual bool IsMeshAdapterSupported
(
TSharedPtr< IMeshPaintComponentAdapter > MeshAdapter |
MeshVertexPaintingTool.h |