Navigation
API > API/Plugins > API/Plugins/DataflowEditor
Mesh Element Paint Tool Class
| Name | UDataflowEditorWeightMapPaintTool |
| Type | class |
| Header File | /Engine/Plugins/Experimental/Dataflow/Source/DataflowEditor/Public/DataflowEditorTools/DataflowEditorWeightMapPaintTool.h |
| Include Path | #include "DataflowEditorTools/DataflowEditorWeightMapPaintTool.h" |
Syntax
UCLASS (MinimalAPI)
class UDataflowEditorWeightMapPaintTool : public UMeshSculptToolBase
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UInteractiveTool → USingleSelectionTool → UMeshSurfacePointTool → UMeshSculptToolBase → UDataflowEditorWeightMapPaintTool
Implements Interfaces
- IClickDragBehaviorTarget
- IModifierToggleBehaviorTarget
- IHoverBehaviorTarget
- IInputBehaviorSource
- IInteractiveToolCameraFocusAPI
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ActionsProps | TObjectPtr< UDataflowEditorMeshWeightMapPaintToolActions > | DataflowEditorTools/DataflowEditorWeightMapPaintTool.h | ||
| FilterProperties | TObjectPtr< UDataflowEditorWeightMapPaintBrushFilterProperties > | Filters on paint brush | DataflowEditorTools/DataflowEditorWeightMapPaintTool.h | |
| PolyLassoMechanic | TObjectPtr< UPolyLassoMarqueeMechanic > | Marquee Support | DataflowEditorTools/DataflowEditorWeightMapPaintTool.h | |
| UpdateWeightMapProperties | TObjectPtr< UDataflowEditorUpdateWeightMapProperties > | DataflowEditorTools/DataflowEditorWeightMapPaintTool.h |
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| EraseBrushOpProperties | TObjectPtr< UDataflowWeightMapEraseBrushOpProps > | DataflowEditorTools/DataflowEditorWeightMapPaintTool.h | ||
| PaintBrushOpProperties | TObjectPtr< UDataflowWeightMapPaintBrushOpProps > | DataflowEditorTools/DataflowEditorWeightMapPaintTool.h | ||
| SmoothBrushOpProperties | TObjectPtr< UDataflowWeightMapSmoothBrushOpProps > | DataflowEditorTools/DataflowEditorWeightMapPaintTool.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ApplyVisibilityFilter
(
const TArray< int32 >& Vertices, |
DataflowEditorTools/DataflowEditorWeightMapPaintTool.h | ||
void ApplyVisibilityFilter
(
TSet< int32 >& Triangles, |
DataflowEditorTools/DataflowEditorWeightMapPaintTool.h | ||
void ClearAllWeightsAction() |
DataflowEditorTools/DataflowEditorWeightMapPaintTool.h | ||
void FloodFillCurrentWeightAction() |
DataflowEditorTools/DataflowEditorWeightMapPaintTool.h | ||
bool HaveVisibilityFilter() |
DataflowEditorTools/DataflowEditorWeightMapPaintTool.h | ||
void InvertCurrentWeightAction
(
bool bInvertSurfaceOnly |
DataflowEditorTools/DataflowEditorWeightMapPaintTool.h | ||
bool IsInBrushSubMode() |
DataflowEditorTools/DataflowEditorWeightMapPaintTool.h | ||
virtual void RequestAction
(
EDataflowEditorWeightMapPaintToolActions ActionType |
Action support | DataflowEditorTools/DataflowEditorWeightMapPaintTool.h | |
void SetDataflowEditorContextObject
(
TObjectPtr< UDataflowContextObject > InDataflowEditorContextObject |
DataflowEditorTools/DataflowEditorWeightMapPaintTool.h | ||
void SetEditorMode
(
UDataflowEditorMode* InMode |
DataflowEditorTools/DataflowEditorWeightMapPaintTool.h | ||
void SetVerticesToWeightMap
(
const TSet< int32 >& Vertices, |
DataflowEditorTools/DataflowEditorWeightMapPaintTool.h |
Overridden from UMeshSculptToolBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void CommitResult
(
UBaseDynamicMeshComponent* Component, |
DataflowEditorTools/DataflowEditorWeightMapPaintTool.h | ||
virtual void DecreaseBrushRadiusAction() |
DataflowEditorTools/DataflowEditorWeightMapPaintTool.h | ||
virtual void DecreaseBrushRadiusSmallStepAction() |
DataflowEditorTools/DataflowEditorWeightMapPaintTool.h | ||
virtual void IncreaseBrushRadiusAction() |
We override these so we can update the separate BrushSize property added for this tool | DataflowEditorTools/DataflowEditorWeightMapPaintTool.h | |
virtual void IncreaseBrushRadiusSmallStepAction() |
DataflowEditorTools/DataflowEditorWeightMapPaintTool.h | ||
virtual void SetupBrushEditBehaviorSetup
(
ULocalTwoAxisPropertyEditInputBehavior& OutBehavior |
DataflowEditorTools/DataflowEditorWeightMapPaintTool.h | ||
virtual void UpdateMaterialMode
(
EMeshEditingMaterialModes MaterialMode |
DataflowEditorTools/DataflowEditorWeightMapPaintTool.h |
Overridden from UInteractiveTool
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool CanAccept() |
DataflowEditorTools/DataflowEditorWeightMapPaintTool.h | ||
virtual void DrawHUD
(
FCanvas* Canvas, |
DataflowEditorTools/DataflowEditorWeightMapPaintTool.h | ||
virtual bool HasAccept() |
DataflowEditorTools/DataflowEditorWeightMapPaintTool.h | ||
virtual bool HasCancel() |
DataflowEditorTools/DataflowEditorWeightMapPaintTool.h | ||
| DataflowEditorTools/DataflowEditorWeightMapPaintTool.h | |||
virtual void OnTick
(
float DeltaTime |
DataflowEditorTools/DataflowEditorWeightMapPaintTool.h | ||
virtual void RegisterActions
(
FInteractiveToolActionSet& ActionSet |
DataflowEditorTools/DataflowEditorWeightMapPaintTool.h | ||
virtual void Render
(
IToolsContextRenderAPI* RenderAPI |
DataflowEditorTools/DataflowEditorWeightMapPaintTool.h | ||
virtual void Setup() |
DataflowEditorTools/DataflowEditorWeightMapPaintTool.h | ||
virtual void Shutdown
(
EToolShutdownType ShutdownType |
DataflowEditorTools/DataflowEditorWeightMapPaintTool.h |
Overridden from IHoverBehaviorTarget
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool OnUpdateHover
(
const FInputDeviceRay& DevicePos |
DataflowEditorTools/DataflowEditorWeightMapPaintTool.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void ApplyAction
(
EDataflowEditorWeightMapPaintToolActions ActionType |
DataflowEditorTools/DataflowEditorWeightMapPaintTool.h | ||
bool ApplyStamp() |
DataflowEditorTools/DataflowEditorWeightMapPaintTool.h | ||
void BeginChange() |
DataflowEditorTools/DataflowEditorWeightMapPaintTool.h | ||
void ComputeGradient() |
DataflowEditorTools/DataflowEditorWeightMapPaintTool.h | ||
void EndChange() |
DataflowEditorTools/DataflowEditorWeightMapPaintTool.h | ||
int32 GetBrushNearestVertex() |
DataflowEditorTools/DataflowEditorWeightMapPaintTool.h | ||
FColor GetColorForWeightValue
(
double WeightValue |
DataflowEditorTools/DataflowEditorWeightMapPaintTool.h | ||
void GetCurrentWeightMap
(
TArray< float >& OutWeights |
DataflowEditorTools/DataflowEditorWeightMapPaintTool.h | ||
double GetCurrentWeightValue
(
int32 VertexId |
DataflowEditorTools/DataflowEditorWeightMapPaintTool.h | ||
double GetCurrentWeightValueUnderBrush() |
DataflowEditorTools/DataflowEditorWeightMapPaintTool.h | ||
bool GetInEraseStroke() |
DataflowEditorTools/DataflowEditorWeightMapPaintTool.h | ||
void OnDynamicMeshComponentChanged
(
UDynamicMeshComponent* Component, |
Realtime visualization | DataflowEditorTools/DataflowEditorWeightMapPaintTool.h | |
void OnPolyLassoFinished
(
const FCameraPolyLasso& Lasso, |
DataflowEditorTools/DataflowEditorWeightMapPaintTool.h | ||
void OnSelectionModified() |
DataflowEditorTools/DataflowEditorWeightMapPaintTool.h | ||
void PrecomputeFilterData() |
DataflowEditorTools/DataflowEditorWeightMapPaintTool.h | ||
bool SyncMeshWithWeightBuffer
(
FDynamicMesh3* Mesh |
DataflowEditorTools/DataflowEditorWeightMapPaintTool.h | ||
bool SyncWeightBufferWithMesh
(
const FDynamicMesh3* Mesh |
DataflowEditorTools/DataflowEditorWeightMapPaintTool.h | ||
bool UpdateBrushPosition
(
const FRay& WorldRay |
DataflowEditorTools/DataflowEditorWeightMapPaintTool.h | ||
void UpdateBrushType
(
EDataflowEditorWeightMapPaintBrushType BrushType |
DataflowEditorTools/DataflowEditorWeightMapPaintTool.h | ||
void UpdateROI
(
const FSculptBrushStamp& CurrentStamp |
DataflowEditorTools/DataflowEditorWeightMapPaintTool.h | ||
void UpdateSelectedNode() |
DataflowEditorTools/DataflowEditorWeightMapPaintTool.h | ||
bool UpdateStampPosition
(
const FRay& WorldRay |
DataflowEditorTools/DataflowEditorWeightMapPaintTool.h | ||
void UpdateSubToolType
(
EDataflowEditorWeightMapPaintInteractionType NewType |
DataflowEditorTools/DataflowEditorWeightMapPaintTool.h | ||
void UpdateVertexColorOverlay
(
const TSet< int >* TrianglesToUpdate |
DataflowEditorTools/DataflowEditorWeightMapPaintTool.h | ||
void WaitForPendingUndoRedoUpdate() |
DataflowEditorTools/DataflowEditorWeightMapPaintTool.h |
Overridden from UMeshSculptToolBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual int32 FindHitSculptMeshTriangleConst
(
const FRay3d& LocalRay |
DataflowEditorTools/DataflowEditorWeightMapPaintTool.h | ||
virtual int32 FindHitTargetMeshTriangleConst
(
const FRay3d& LocalRay |
DataflowEditorTools/DataflowEditorWeightMapPaintTool.h | ||
virtual TUniquePtr< FMeshSculptBrushOp > & GetActiveBrushOp() |
DataflowEditorTools/DataflowEditorWeightMapPaintTool.h | ||
virtual FDynamicMesh3 * GetBaseMesh () |
DataflowEditorTools/DataflowEditorWeightMapPaintTool.h | ||
virtual const FDynamicMesh3 * GetBaseMesh () |
DataflowEditorTools/DataflowEditorWeightMapPaintTool.h | ||
virtual UBaseDynamicMeshComponent * GetSculptMeshComponent() |
UMeshSculptToolBase API. | DataflowEditorTools/DataflowEditorWeightMapPaintTool.h | |
virtual void OnBeginStroke
(
const FRay& WorldRay |
DataflowEditorTools/DataflowEditorWeightMapPaintTool.h | ||
virtual void OnEndStroke() |
DataflowEditorTools/DataflowEditorWeightMapPaintTool.h | ||
virtual bool SharesBrushPropertiesChanges() |
DataflowEditorTools/DataflowEditorWeightMapPaintTool.h | ||
virtual bool ShowWorkPlane() |
DataflowEditorTools/DataflowEditorWeightMapPaintTool.h | ||
virtual void UpdateHitSculptMeshTriangle
(
int32 TriangleID, |
DataflowEditorTools/DataflowEditorWeightMapPaintTool.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void AddReferencedObjects
(
UObject* InThis, |
DataflowEditorTools/DataflowEditorWeightMapPaintTool.h |