I3DHInteractiveSplineDrawing.h Source File
instant3Dhub
|
I3DHInteractiveSplineDrawing.h
Go to the documentation of this file.
23DECLARE_DYNAMIC_DELEGATE_TwoParams(FSplineDrawingCreatedDelegate, const FI3DHDrawingResult&, DrawingResult, const FI3DHDrawingProperties&, DrawingProperties);
25class INSTANT3DHUB_EXPERIMENTAL(0.0.27, "The instant3Dhub Drawings feature is available as a preview and is actively under development.") AI3DHInteractiveSplineDrawing;
49UCLASS(Experimental, Abstract, NotPlaceable, meta = (DisplayName = "I3DH Interactive SplineDrawing (Experimental)"))
64 UFUNCTION(BlueprintCallable, meta = (DefaultToSelf = "HubConnector", DeterminesOutputType = "DrawingClass"), Category = "{instant3DhubDrawings}")
65 static AI3DHInteractiveSplineDrawing* CreateInteractiveSplineDrawing(AI3DHConnector* HubConnector, TSubclassOf<AI3DHInteractiveSplineDrawing> DrawingClass);
84 UFUNCTION(BlueprintCallable, meta = (AutoCreateRefTerm = "Color"), Category = "{instant3DhubDrawings}")
98 UFUNCTION(BlueprintCallable, meta = (AutoCreateRefTerm = "Color"), Category = "{instant3DhubDrawings}")
157 void FinalizeDrawing(TUniqueFunction<void(FI3DHDrawingResult)> OnComplete);
169 void CreateHubDrawingAndDestroy(const FString& Name, TUniqueFunction<void(int DrawingHandle, EI3DHErrorCode ErrorCode)> OnComplete);
186 virtual bool IsReadyForFinishDestroy() override { return Super::IsReadyForFinishDestroy() && (!AsyncTaskFence.IsValid() || AsyncTaskFence.GetRefCount() <= 1); }
189 // Updates the active spline to end at the new location. Its last segment is updated to spawn from the second-last
191 bool UpdateActiveSplineEndSegment(const FVector& NewEndLocation, const FVector& NewEndUpVector);
240 // Store pointer instead of value so we can hold a pointer to the active spline without having to worry about it
The HubConnector is the central actor for communication with an instant3Dhub instance in your network...
Definition I3DHConnector.h:98
A helper for creating spline-based drawings in the scene that are synced to the session when finished...
Definition I3DHInteractiveSplineDrawing.h:51
#define INSTANT3DHUB_EXPERIMENTAL(Version, Message)
Macro for marking up experimental code, functions and types.
Definition I3DHVersion.h:212
Encapsulates the result of an instant3Dhub drawing.
Definition I3DHDataTypes.h:1811
Generated by