UAxisAngleGizmo

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

InteractiveToolsFramework

Header

/Engine/Source/Runtime/Experimental/InteractiveToolsFramework/Public/BaseGizmos/AxisAngleGizmo.h

Include

#include "BaseGizmos/AxisAngleGizmo.h"

Syntax

class UAxisAngleGizmo :
    public UInteractiveGizmo ,
    public IClickDragBehaviorTarget ,
    public IHoverBehaviorTarget

Variables

Name Description

Public variable

TScriptInterfac ...

 

AngleSource

Public variable

TScriptInterfac ...

 

AxisSource

Protected variable

bool

 

bEnableSnapAngleModifier

Public variable

bool

 

bInInteraction

Public variable

TScriptInterfac ...

 

HitTarget

Protected variable

float

 

InitialTargetAngle

Public variable

float

 

InteractionCurAngle

Public variable

FVector

 

InteractionCurPoint

Public variable

float

 

InteractionStartAngle

Public variable

FVector

 

InteractionStartPoint

Protected variable

FVector

 

LastHitPosition

Public variable

FVector

 

RotationAxis

Public variable

FVector

 

RotationOrigin

Public variable

FVector

 

RotationPlaneX

Public variable

FVector

 

RotationPlaneY

Public variable

TScriptInterfac ...

 

StateTarget

Overridden from UInteractiveGizmo

Name Description

Public function Virtual

void

 

Setup()

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

Overridden from IClickDragBehaviorTarget

Name Description

Public function Virtual

FInputRayHit

 

CanBeginClickDragSequence

(
    const FInputDeviceRay & PressPos
)

Test if target can begin click-drag interaction at this point

Public function Virtual

void

 

OnClickDrag

(
    const FInputDeviceRay & DragPos
)

Notify Target that input position has changed

Public function Virtual

void

 

OnClickPress

(
    const FInputDeviceRay & PressPos
)

Notify Target that click press ocurred

Public function Virtual

void

 

OnClickRelease

(
    const FInputDeviceRay & ReleasePos
)

Notify Target that click release occurred

Public function Virtual

void

 

OnTerminateDragSequence()

Notify Target that click-drag sequence has been explicitly terminated (eg by escape key)

Overridden from IModifierToggleBehaviorTarget

Name Description

Public function Virtual

void

 

OnUpdateModifierState

(
    int ModifierID,
    bool bIsOn
)

IModifierToggleBehaviorTarget implementation (inherited via IClickDragBehaviorTarget )

Overridden from IHoverBehaviorTarget

Name Description

Public function Virtual

FInputRayHit

 

BeginHoverSequenceHitTest

(
    const FInputDeviceRay & PressPos
)

IHoverBehaviorTarget implementation.

Public function Virtual

void

 

OnBeginHover

(
    const FInputDeviceRay & DevicePos
)

Initialize hover sequence at given position

Public function Virtual

void

 

OnEndHover()

Terminate active hover sequence

Public function Virtual

bool

 

OnUpdateHover

(
    const FInputDeviceRay & DevicePos
)

Update active hover sequence with new input position

Constants

Name

Description

SnapAngleModifierID

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback