FSnapState

Snapping is not stateless but we want to manage it through the central area.

Windows
MacOS
Linux

References

Module

CurveEditor

Header

/Engine/Source/Editor/CurveEditor/Public/CurveEditorSnapMetrics.h

Include

#include "CurveEditorSnapMetrics.h"

Syntax

struct FSnapState

Remarks

Snapping is not stateless but we want to manage it through the central area. This allows state to be passed into from the calling area but still centralize the logic of handling it.

Variables

Name Description

Public variable

bool

 

bHasPassedThreshold

Public variable

bool

 

bHasStartPosition

Public variable

FVector2D

 

MouseLockVector

Public variable

FVector2D

 

MousePosOnShiftStart

Constructors

Name Description

Public function

FSnapState()

Functions

Name Description

Public function

void

 

Reset()

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