Navigation
API > API/Plugins > API/Plugins/DataflowEditor
Dataflow Editor tool to paint a vertex attribute as vertex colors
| Name | UDataflowEditorVertexAttributePaintTool |
| Type | class |
| Header File | /Engine/Plugins/Experimental/Dataflow/Source/DataflowEditor/Public/DataflowEditorTools/DataflowEditorVertexAttributePaintTool.h |
| Include Path | #include "DataflowEditorTools/DataflowEditorVertexAttributePaintTool.h" |
Syntax
UCLASS (MinimalAPI)
class UDataflowEditorVertexAttributePaintTool : public UMeshSculptToolBase
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UInteractiveTool → USingleSelectionTool → UMeshSurfacePointTool → UMeshSculptToolBase → UDataflowEditorVertexAttributePaintTool
Implements Interfaces
- IClickDragBehaviorTarget
- IModifierToggleBehaviorTarget
- IHoverBehaviorTarget
- IInputBehaviorSource
- IInteractiveToolCameraFocusAPI
Structs
| Name | Remarks |
|---|---|
| FMirrorData | This structure holds information for mirroring |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| PaintBrushId | int32 | DataflowEditorTools/DataflowEditorVertexAttributePaintTool.h | |
| SmoothBrushId | int32 | DataflowEditorTools/DataflowEditorVertexAttributePaintTool.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| PaintBrushOpProperties | TObjectPtr< UDataflowVertexAttributePaintBrushOpProps > | DataflowEditorTools/DataflowEditorVertexAttributePaintTool.h | ||
| PolyLassoMechanic | TObjectPtr< UPolyLassoMarqueeMechanic > | Marquee Support | DataflowEditorTools/DataflowEditorVertexAttributePaintTool.h | |
| SmoothBrushOpProperties | TObjectPtr< UDataflowWeightMapSmoothBrushOpProps > | DataflowEditorTools/DataflowEditorVertexAttributePaintTool.h | ||
| ToolProperties | TObjectPtr< UDataflowEditorVertexAttributePaintToolProperties > | Properties of the tool | DataflowEditorTools/DataflowEditorVertexAttributePaintTool.h |
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| MirrorData | FMirrorData | DataflowEditorTools/DataflowEditorVertexAttributePaintTool.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ApplyValueToSelection
(
EDataflowEditorToolEditOperation Operation, |
Selection operations | DataflowEditorTools/DataflowEditorVertexAttributePaintTool.h | |
void ApplyVisibilityFilter
(
const TArray< int32 >& Vertices, |
DataflowEditorTools/DataflowEditorVertexAttributePaintTool.h | ||
void ApplyVisibilityFilter
(
TSet< int32 >& Triangles, |
DataflowEditorTools/DataflowEditorVertexAttributePaintTool.h | ||
void CopyAverageFromSelectionToClipboard() |
DataflowEditorTools/DataflowEditorVertexAttributePaintTool.h | ||
void FloodSelection() |
DataflowEditorTools/DataflowEditorVertexAttributePaintTool.h | ||
float GetBrushMaxRadius() |
DataflowEditorTools/DataflowEditorVertexAttributePaintTool.h | ||
float GetBrushMinRadius() |
DataflowEditorTools/DataflowEditorVertexAttributePaintTool.h | ||
TArray< int32 > GetSelectedVertices() |
DataflowEditorTools/DataflowEditorVertexAttributePaintTool.h | ||
void GrowSelection() |
DataflowEditorTools/DataflowEditorVertexAttributePaintTool.h | ||
bool HasSelection() |
DataflowEditorTools/DataflowEditorVertexAttributePaintTool.h | ||
bool HaveVisibilityFilter() |
DataflowEditorTools/DataflowEditorVertexAttributePaintTool.h | ||
bool IsInBrushMode() |
DataflowEditorTools/DataflowEditorVertexAttributePaintTool.h | ||
bool IsVolumetricBrush() |
DataflowEditorTools/DataflowEditorVertexAttributePaintTool.h | ||
void MirrorValues() |
DataflowEditorTools/DataflowEditorVertexAttributePaintTool.h | ||
void PasteValueToSelectionFromClipboard() |
DataflowEditorTools/DataflowEditorVertexAttributePaintTool.h | ||
void PruneSelection
(
float Threshold |
DataflowEditorTools/DataflowEditorVertexAttributePaintTool.h | ||
void SelectBorder() |
DataflowEditorTools/DataflowEditorVertexAttributePaintTool.h | ||
void SetBrushMode
(
EDataflowEditorToolEditOperation BrushMode |
DataflowEditorTools/DataflowEditorVertexAttributePaintTool.h | ||
void SetColorMode
(
EDataflowEditorToolColorMode NewColorMode |
DataflowEditorTools/DataflowEditorVertexAttributePaintTool.h | ||
void SetComponentSelectionMode
(
EComponentSelectionMode NewMode |
DataflowEditorTools/DataflowEditorVertexAttributePaintTool.h | ||
void SetDataflowEditorContextObject
(
TObjectPtr< UDataflowContextObject > InDataflowEditorContextObject |
DataflowEditorTools/DataflowEditorVertexAttributePaintTool.h | ||
void SetEditorMode
(
UDataflowEditorMode* InMode |
DataflowEditorTools/DataflowEditorVertexAttributePaintTool.h | ||
void ShrinkSelection() |
DataflowEditorTools/DataflowEditorVertexAttributePaintTool.h |
Overridden from UMeshSculptToolBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void CommitResult
(
UBaseDynamicMeshComponent* Component, |
DataflowEditorTools/DataflowEditorVertexAttributePaintTool.h | ||
virtual void DecreaseBrushRadiusAction() |
DataflowEditorTools/DataflowEditorVertexAttributePaintTool.h | ||
virtual void DecreaseBrushRadiusSmallStepAction() |
DataflowEditorTools/DataflowEditorVertexAttributePaintTool.h | ||
virtual void IncreaseBrushRadiusAction() |
We override these so we can update the separate BrushSize property added for this tool | DataflowEditorTools/DataflowEditorVertexAttributePaintTool.h | |
virtual void IncreaseBrushRadiusSmallStepAction() |
DataflowEditorTools/DataflowEditorVertexAttributePaintTool.h | ||
virtual void SetupBrushEditBehaviorSetup
(
ULocalTwoAxisPropertyEditInputBehavior& OutBehavior |
DataflowEditorTools/DataflowEditorVertexAttributePaintTool.h | ||
virtual void UpdateMaterialMode
(
EMeshEditingMaterialModes MaterialMode |
DataflowEditorTools/DataflowEditorVertexAttributePaintTool.h |
Overridden from UInteractiveTool
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool CanAccept() |
DataflowEditorTools/DataflowEditorVertexAttributePaintTool.h | ||
virtual void DrawHUD
(
FCanvas* Canvas, |
DataflowEditorTools/DataflowEditorVertexAttributePaintTool.h | ||
virtual bool HasAccept() |
DataflowEditorTools/DataflowEditorVertexAttributePaintTool.h | ||
virtual bool HasCancel() |
DataflowEditorTools/DataflowEditorVertexAttributePaintTool.h | ||
| DataflowEditorTools/DataflowEditorVertexAttributePaintTool.h | |||
virtual void OnTick
(
float DeltaTime |
DataflowEditorTools/DataflowEditorVertexAttributePaintTool.h | ||
virtual void RegisterActions
(
FInteractiveToolActionSet& ActionSet |
DataflowEditorTools/DataflowEditorVertexAttributePaintTool.h | ||
virtual void Render
(
IToolsContextRenderAPI* RenderAPI |
DataflowEditorTools/DataflowEditorVertexAttributePaintTool.h | ||
virtual void Setup() |
DataflowEditorTools/DataflowEditorVertexAttributePaintTool.h | ||
virtual void Shutdown
(
EToolShutdownType ShutdownType |
DataflowEditorTools/DataflowEditorVertexAttributePaintTool.h |
Overridden from IHoverBehaviorTarget
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool OnUpdateHover
(
const FInputDeviceRay& DevicePos |
DataflowEditorTools/DataflowEditorVertexAttributePaintTool.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool ApplyStamp() |
DataflowEditorTools/DataflowEditorVertexAttributePaintTool.h | ||
void BeginChange() |
DataflowEditorTools/DataflowEditorVertexAttributePaintTool.h | ||
void CancelChange() |
DataflowEditorTools/DataflowEditorVertexAttributePaintTool.h | ||
void ComputeGradient() |
DataflowEditorTools/DataflowEditorVertexAttributePaintTool.h | ||
void EndChange() |
DataflowEditorTools/DataflowEditorVertexAttributePaintTool.h | ||
int32 GetBrushNearestVertex() |
DataflowEditorTools/DataflowEditorVertexAttributePaintTool.h | ||
float GetCurrentWeightValueUnderBrush() |
DataflowEditorTools/DataflowEditorVertexAttributePaintTool.h | ||
void OnColorRampChanged
(
TArray< FRichCurve* > Curves |
DataflowEditorTools/DataflowEditorVertexAttributePaintTool.h | ||
void OnDynamicMeshComponentChanged
(
UDynamicMeshComponent* Component, |
Realtime visualization | DataflowEditorTools/DataflowEditorVertexAttributePaintTool.h | |
void OnPolyLassoFinished
(
const FCameraPolyLasso& Lasso, |
DataflowEditorTools/DataflowEditorVertexAttributePaintTool.h | ||
void OnSelectionModified() |
DataflowEditorTools/DataflowEditorVertexAttributePaintTool.h | ||
void PrecomputeFilterData() |
DataflowEditorTools/DataflowEditorVertexAttributePaintTool.h | ||
void SetVerticesToWeightMap
(
const TSet< int32 >& Vertices, |
DataflowEditorTools/DataflowEditorVertexAttributePaintTool.h | ||
bool SyncMeshWithWeightBuffer
(
FDynamicMesh3* Mesh |
DataflowEditorTools/DataflowEditorVertexAttributePaintTool.h | ||
bool SyncWeightBufferWithMesh
(
const FDynamicMesh3* Mesh |
DataflowEditorTools/DataflowEditorVertexAttributePaintTool.h | ||
bool UpdateBrushPosition
(
const FRay& WorldRay |
DataflowEditorTools/DataflowEditorVertexAttributePaintTool.h | ||
void UpdateBrushType
(
EDataflowEditorToolEditOperation EditOperation |
DataflowEditorTools/DataflowEditorVertexAttributePaintTool.h | ||
void UpdateROI
(
const FSculptBrushStamp& CurrentStamp |
DataflowEditorTools/DataflowEditorVertexAttributePaintTool.h | ||
bool UpdateStampPosition
(
const FRay& WorldRay |
DataflowEditorTools/DataflowEditorVertexAttributePaintTool.h | ||
void UpdateVertexColorOverlay
(
const TSet< int >* TrianglesToUpdate |
Update the vertex color of the mesh from the attribute | DataflowEditorTools/DataflowEditorVertexAttributePaintTool.h | |
void WaitForPendingUndoRedoUpdate() |
DataflowEditorTools/DataflowEditorVertexAttributePaintTool.h |
Overridden from UMeshSculptToolBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual int32 FindHitSculptMeshTriangleConst
(
const FRay3d& LocalRay |
DataflowEditorTools/DataflowEditorVertexAttributePaintTool.h | ||
virtual int32 FindHitTargetMeshTriangleConst
(
const FRay3d& LocalRay |
DataflowEditorTools/DataflowEditorVertexAttributePaintTool.h | ||
virtual FDynamicMesh3 * GetBaseMesh () |
DataflowEditorTools/DataflowEditorVertexAttributePaintTool.h | ||
virtual const FDynamicMesh3 * GetBaseMesh () |
DataflowEditorTools/DataflowEditorVertexAttributePaintTool.h | ||
virtual UBaseDynamicMeshComponent * GetSculptMeshComponent() |
UMeshSculptToolBase API. | DataflowEditorTools/DataflowEditorVertexAttributePaintTool.h | |
virtual void OnBeginStroke
(
const FRay& WorldRay |
DataflowEditorTools/DataflowEditorVertexAttributePaintTool.h | ||
virtual void OnCancelStroke() |
DataflowEditorTools/DataflowEditorVertexAttributePaintTool.h | ||
virtual void OnEndStroke() |
DataflowEditorTools/DataflowEditorVertexAttributePaintTool.h | ||
virtual bool SharesBrushPropertiesChanges() |
DataflowEditorTools/DataflowEditorVertexAttributePaintTool.h | ||
virtual bool ShowWorkPlane() |
DataflowEditorTools/DataflowEditorVertexAttributePaintTool.h | ||
virtual void UpdateHitSculptMeshTriangle
(
int32 TriangleID, |
DataflowEditorTools/DataflowEditorVertexAttributePaintTool.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void AddReferencedObjects
(
UObject* InThis, |
DataflowEditorTools/DataflowEditorVertexAttributePaintTool.h |