FSnapState

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

Unreal Engine C++ API Reference > Editor > CurveEditor > FCurveEditorAxisSnap

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

Type Name Description
bool bHasPassedThreshold  
bool bHasStartPosition  
FVector2D MouseLockVector  
FVector2D MousePosOnShiftStart  

Constructors

Type Name Description
  FSnapState ()  

Functions

Type Name Description
void Reset ()  

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library