I3DHDrawingEditor.h File Reference

instant3Dhub: I3DHDrawingEditor.h File Reference
instant3Dhub
I3DHDrawingEditor.h File Reference
#include "CoreMinimal.h"
#include "I3DHDataTypes.h"
#include "I3DHError.h"
#include "I3DHSplineData.h"
#include "I3DHVersion.h"
#include "GameFramework/Actor.h"
#include "Templates/RefCounting.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 determine the functionalities and inner workings of the Drawing Editor.

Enumerator
None 

None.

Draw 

In Draw Mode, a Cursor is visible and new points or spline slices can be added to the drawing.


EditDrawing 

In EditDrawing Mode, the splines are locked but the drawing can be edited as a whole.

Finalize 

In Finalize Mode, all editing capabilities of the drawing are locked.

Once the DrawingEditor entered this Mode, it cannot change to any other mode. The drawing is scheduled for processing and sync with the connected instant3Dhub session. The DrawingEditor will automatically destruct itself and be replaced by the finalized instant3Dhub drawing synced across all sessions.