I3DHDrawingEditor.h File Reference

instant3Dhub: I3DHDrawingEditor.h File Reference
instant3Dhub
I3DHDrawingEditor.h File Reference
#include "CoreMinimal.h"
#include "I3DHDataTypes.h"
#include "I3DHDrawing.h"
#include "I3DHError.h"
#include "I3DHSplineData.h"
#include "I3DHVersion.h"
#include "GameFramework/Actor.h"
#include "Templates/RefCounting.h"
#include "Engine/AssetUserData.h"
#include "I3DHDrawingEditor.generated.h"
+ Include dependency graph for I3DHDrawingEditor.h:

Go to the source code of this file.

Detailed Description

Classes

class  AI3DHDrawingEditor
 

Enumerations

enum class  EI3DHDrawingEditorMode : uint8 { None , Draw , EditDrawing , Finalize }
 

Functions

DECLARE_DYNAMIC_DELEGATE void FI3DHDrawingFinalizedDelegate (const FI3DHDrawingResult &DrawingResult, const FI3DHDrawingProperties &DrawingProperties, const TArray< FI3DHSplineData > &Splines)
 

Enumeration Type Documentation

◆ EI3DHDrawingEditorMode

enum class EI3DHDrawingEditorMode : uint8
strong

DrawingEditor Modes describe how the editor visualizes the drawing and what actions are available.

The mode does not change the underlying data format (Splines, Linear Splines, Slices) but changes what is shown and which interactions are enabled.

Enumerator
None 

None.

Draw 

Draw Mode:

  • Visualization focuses on adding content: shows the cursor and context needed to add points or start new Slices.
  • You can add points to the active Spline, start Slices, and select Spline endpoints.
EditDrawing 

EditDrawing Mode:

  • Visualization focuses on the drawing as a whole.
  • Use this when you want to adjust the final result rather than add points to Splines.
Finalize 

Finalize Mode:

  • Editing is disabled. After entering this mode, the editor cannot switch back.
  • The drawing is processed and synchronized with the connected instant3Dhub session.
  • The editor destroys itself on completion and the finalized instant3Dhub drawing is shown across all sessions.

Function Documentation

◆ FI3DHDrawingFinalizedDelegate()

DECLARE_DYNAMIC_DELEGATE void FI3DHDrawingFinalizedDelegate ( const FI3DHDrawingResult & DrawingResult,
const FI3DHDrawingProperties & DrawingProperties,
const TArray< FI3DHSplineData > & Splines )

Drawing Finalized Delegate Type.