IGizmoAxisSource

[IGizmoAxisSource](API\Runtime\InteractiveToolsFramework\BaseGizmos\IGizmoAxisSource) is an interface which is used to get information about a 3D Axis.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

InteractiveToolsFramework

Header

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

Include

#include "BaseGizmos/GizmoInterfaces.h"

Syntax

class IGizmoAxisSource

Remarks

IGizmoAxisSource is an interface which is used to get information about a 3D Axis. At minimum this includes a 3D Direction Vector and Origin Point. Optionally the implementation may provide two Tangent Vectors which are assumed to be mutually-orthogonal and perpendicular to the Axis Direction (ie that's the normal and the 3 vectors form a coordinate frame).

Functions

Name Description

Public function Const

void

 

GetAxisFrame

(
    FVector & PlaneNormalOut,
    FVector & PlaneAxis1Out,
    FVector & PlaneAxis2Out
)

Utility function that always returns a 3D coordinate system (ie plane normal and perpendicular axes).

Public function Const

FVector

 

GetDirection()

Public function Const

FVector

 

GetOrigin()

Public function Virtual Const

void

 

GetTangentVectors

(
    FVector & TangentXOut,
    FVector & TangentYOut
)

Get the two tangent vectors that are orthogonal to the Direction vector.

Public function Virtual Const

bool

 

HasTangentVectors()

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