UGizmoAxisIntervalParameterSource

[UGizmoAxisIntervalParameterSource](API\Runtime\InteractiveToolsFramework\BaseGizmos\UGizmoAxisInterv-) is an [IGizmoFloatParameterSource](API\Runtime\InteractiveToolsFramework\BaseGizmos\IGizmoFloatParameterSource) implementation that interprets the float value as the parameter of a line equation, and maps this parameter to a 3D translation along a line with origin/direction given by an [IGizmoAxisSource](API\Runtime\InteractiveToolsFramework\BaseGizmos\IGizmoAxisSource).

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

InteractiveToolsFramework

Header

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

Include

#include "BaseGizmos/IntervalGizmo.h"

Syntax

class UGizmoAxisIntervalParameterSource : public UGizmoBaseFloatParameterSource

Remarks

UGizmoAxisIntervalParameterSource is an IGizmoFloatParameterSource implementation that interprets the float value as the parameter of a line equation, and maps this parameter to a 3D translation along a line with origin/direction given by an IGizmoAxisSource. This translation is applied to an IGizmoTransformSource.

This ParameterSource is intended to be used to create 3D Axis Interval Gizmos.

Variables

Name Description

Public variable

TScriptInterfac...

 

FloatParameterSource

Public variable

float

 

MaxParameter

Public variable

float

 

MinParameter

Functions

Name Description

Public function Static

UGizmoAxisIn...

 

Construct

(
    IGizmoFloatParameterSource* Fl...,
    float ParameterMin,
    float ParameterMax,
    UObject* Outer
)

Create a standard instance of this ParameterSource, with the given AxisSource and TransformSource

Overridden from IGizmoFloatParameterSource

Name Description

Public function Virtual

void

 

BeginModify()

Notify ParameterSource that a parameter modification is about to begin

Public function Virtual

void

 

EndModify()

Notify ParameterSource that a parameter modification is complete

Public function Virtual Const

float

 

GetParameter()

Public function Virtual

void

 

SetParameter

(
    float NewValue
)

Set value of parameter

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss