I3DHDrawing.h Source File#
|
instant3Dhub
|
I3DHDrawing.h
Go to the documentation of this file.
80 INSTANT3DHUB_API virtual UMaterialInterface* GetHoveredMaterial(const FLinearColor& DrawingColor) const { return nullptr; }
125 UPROPERTY(Category = "{instant3Dhub}|Drawing", EditDefaultsOnly, BlueprintReadWrite, meta = (DisplayAfter = "bCreateDrawingCollisions", EditCondition = "bCreateDrawingCollisions", EditConditionHides))
170 virtual bool IsRenderStateCreated() const PURE_VIRTUAL(UI3DHDrawingRendererBase::IsRenderStateCreated, return false;);
171 virtual void CreateRenderState(const FCreateDrawingRenderContext& Context) PURE_VIRTUAL(UI3DHDrawingRendererBase::CreateRenderState, );
172 virtual void UpdateMaterial(UMaterialInterface* Material) const PURE_VIRTUAL(UI3DHDrawingRendererBase::UpdateMaterial, );
173 virtual void UpdateMaterialParameters(const FLinearColor& Color, const bool bIsHovered) const PURE_VIRTUAL(UI3DHDrawingRendererBase::SetHovered, );
197 virtual void UpdateMaterialParameters(const FLinearColor& Color, const bool bIsHovered) const override;
221 virtual void UpdateMaterialParameters(const FLinearColor& Color, const bool bIsHovered) const override;
242 virtual void UpdateMaterialParameters(const FLinearColor& Color, const bool bIsHovered) const override;
EI3DHGlPrimitiveType
Enumeration of Primitive types.
Definition I3DHDataTypes.h:1974
The HubConnector is the central actor for communication with an instant3Dhub instance in your network...
Definition I3DHConnector.h:214
virtual void OnHoverEnd()
OnHoverEnd should be called if this DrawingActor is no longer hovered to revert its Material.
class AI3DHConnector * GetHubConnector() const
Gets hub connector that's connected to the instant3Dhub session this drawing belongs to.
Definition I3DHDrawing.h:69
void SetDrawingVisibilityOverride(const bool bIsVisible)
Overrides the visibility of the Drawing disregarding the visibility of the instant3Dhub session.
virtual UMaterialInterface * GetHoveredMaterial(const FLinearColor &DrawingColor) const
Definition I3DHDrawing.h:80
TSet< EI3DHGlPrimitiveType > AllowedPrimitivesColliders
Finer control over which geometry types have collisions enabled.
Definition I3DHDrawing.h:126
virtual void OnHoverStart()
OnHoverStart should be called if this DrawingActor is hovered to change its Material to one that visu...
void ClearDrawingVisibilityOverride()
Clears any active visibility override and restores the drawing's instant3Dhub session visibility.
int32 GetDrawingHandle() const
Gets instant3Dhub Drawing Handle of this Drawing Actor.
Definition I3DHDrawing.h:63
bool HasDrawingResult() const
Returns true if this Drawing Actor has a valid Drawing Result.
Definition I3DHDrawing.h:104
uint8 bCreateDrawingCollisions
Whether drawings should ever have collisions created from their geometry.
Definition I3DHDrawing.h:130
#define INSTANT3DHUB_DEPRECATED(Version, Message)
Macro for marking up deprecated code, functions and types.
Definition I3DHVersion.h:203
Encapsulates the result of an instant3Dhub drawing.
Definition I3DHDataTypes.h:2093
Generated by