UPositionPlaneGizmo

This is a simple gizmo you can use to position a 3D plane in the world, based on QuickAxisTransformer

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

MeshModelingTools

Header

/Engine/Plugins/Experimental/MeshModelingToolset/Source/MeshModelingTools/Public/PositionPlaneGizmo.h

Include

#include "PositionPlaneGizmo.h"

Syntax

UCLASS()
class UPositionPlaneGizmo : public UInteractiveGizmo

Remarks

This is a simple gizmo you can use to position a 3D plane in the world, based on QuickAxisTransformer

Variables

Functions

Name Description

Public function Virtual

void

 

ExternalUpdatePosition

(
    const FVector& Position,
    const FQuat& Orientation,
    bool bPostUpdate
)

Public function Virtual

bool

 

HitTest

(
    const FRay& Ray,
    FHitResult& OutHit
)

Public function

UPreviewMesh...

 

MakeSphereMesh()

Public function Virtual

void

 

OnBeginDrag

(
    const FRay& Ray
)

This function is called by registered InputBehaviors when the user begins a click-drag-release interaction

Public function Virtual

void

 

OnEndDrag

(
    const FRay& Ray
)

This function is called by registered InputBehaviors when the user releases the button driving a click-drag-release interaction

Public function Virtual

void

 

OnUpdateDrag

(
    const FRay& Ray
)

This function is called by registered InputBehaviorseach frame that the user is in a click-drag-release interaction

Public function

void

 

PostUpdatedPosition()

Public function Virtual

void

 

SetWorld

(
    UWorld* World
)

Overridden from UInteractiveGizmo

Name Description

Public function Virtual

void

 

Render

(
    IToolsContextRenderAPI* Render...
)

Allow the Gizmo to do any custom drawing (ie via PDI/RHI)

Public function Virtual

void

 

Setup()

Called by GizmoManager to initialize the Gizmo after GizmoBuilder::BuildGizmo() has been called

Public function Virtual

void

 

Shutdown()

Called by GizmoManager to shut down the Gizmo