void |
AddSegment ( const FVector& InWorldPos, bool bAppend ) |
Add segment to beginning or end of spline |
bool |
AreKeysSelected () |
Whether any keys are currently selected |
bool |
AreMultipleKeysSelected () |
Whether a multiple spline keys are currently selected |
bool |
CanAddKeyToSegment () |
|
bool |
CanDeleteKey () |
|
bool |
CanResetToAutomaticTangent ( EInterpCurveMode Mode ) |
|
bool |
CanResetToDefault () |
|
bool |
CanSelectSplinePoints () |
|
void |
ChangeSelectionState ( int32 Index, bool bIsCtrlHeld ) |
Update the key selection state of the visualizer |
void |
CreateSplineGeneratorPanel () |
|
bool |
DuplicateKeyForAltDrag ( const FVector& InDrag ) |
Alt-drag: duplicates the selected spline key |
float |
FindNearest ( const FVector& InLocalPos, int32 InSegmentStartIndex, FVector& OutSplinePos, FVector& OutSplineTangent ) |
Return spline data for point on spline closest to input point |
void |
GenerateContextMenuSections ( FMenuBuilder& InMenuBuilder ) |
Add menu sections to the context menu |
void |
GenerateLockAxisSubMenu ( FMenuBuilder& MenuBuilder ) |
Generate the submenu containing the lock axis types |
void |
GenerateSelectSplinePointsSubMenu ( FMenuBuilder& MenuBuilder ) |
Generate the submenu containing available selection actions |
void |
GenerateSnapAlignSubMenu ( FMenuBuilder& MenuBuilder ) |
Generate the submenu containing the available snap/align actions |
void |
GenerateSplinePointTypeSubMenu ( FMenuBuilder& MenuBuilder ) |
Generate the submenu containing the available point types |
void |
GenerateTangentTypeSubMenu ( FMenuBuilder& MenuBuilder ) |
Generate the submenu containing the available auto tangent types |
USplineCompo... |
GetEditedSplineComponent () |
Get the spline component we are currently editing |
const TSet< ... |
GetSelectedKeys () |
|
bool |
GetSnapToActorMode ( ESplineComponentSnapMode& OutSnapM... ) |
Snapping: get snap to actor temporary mode |
bool |
HandleSelectAllSplinePoints ( USplineComponent* InSplineComp... ) |
Select all spline points, , returns true if the spline component being edited has changed |
bool |
HandleSelectFirstLastSplinePoint ( USplineComponent* InSplineComp..., bool bFirstPoint ) |
Select first or last spline point, returns true if the spline component being edited has changed |
bool |
IsAnySelectedKeyIndexOutOfRange ( const USplineComponent* Comp ) |
Determine if any selected key index is out of range (perhaps because something external has modified the spline) |
bool |
IsDiscontinuousSpline () |
|
bool |
IsKeySelectionValid () |
|
bool |
IsKeyTypeSet ( EInterpCurveMode Mode ) |
|
bool |
IsLockAxisSet ( EAxis::Type InAxis ) |
|
bool |
IsSingleKeySelected () |
Whether a single spline key is currently selected |
bool |
IsVisualizingRollAndScale () |
|
void |
OnAddKeyToSegment () |
|
void |
OnDeleteKey () |
|
void |
OnDeselectedInEditor ( TObjectPtr< USplineComponent > Spli... ) |
|
void |
OnDuplicateKey () |
Duplicates selected spline keys in place |
void |
OnLockAxis ( EAxis::Type InAxis ) |
|
void |
OnResetToAutomaticTangent ( EInterpCurveMode Mode ) |
|
void |
OnResetToDefault () |
|
void |
OnSelectAllSplinePoints () |
Select all spline points, if no spline points selected yet the currently edited spline component will be set as well |
void |
OnSelectFirstLastSplinePoint ( bool bFirstPoint ) |
Select first or last spline point |
void |
OnSelectPrevNextSplinePoint ( bool bNextPoint, bool bAddToSelection ) |
Select next or prev spline point, loops when last point is currently selected |
void |
OnSetDiscontinuousSpline () |
|
void |
OnSetKeyType ( EInterpCurveMode Mode ) |
|
void |
OnSetVisualizeRollAndScale () |
|
void |
OnSnapAllToAxis ( EAxis::Type InAxis ) |
|
void |
OnSnapKeyToActor ( const ESplineComponentSnapMode InSn... ) |
|
void |
OnSnapKeyToNearestSplinePoint ( ESplineComponentSnapMode InSnapMode ) |
|
void |
OnSnapSelectedToAxis ( EAxis::Type InAxis ) |
|
void |
ResetAllowDuplication () |
Alt-drag: duplicates the selected spline key |
void |
ResetTempModes () |
Reset temporary modes after inputs are handled. |
void |
SelectSplinePoint ( int32 SelectIndex, bool bAddToSelection ) |
Select spline point at specified index |
void |
SetCachedRotation ( const FQuat& NewRotation ) |
Sets the new cached rotation on the visualizer |
void |
SetEditedSplineComponent ( const USplineComponent* InSpli... ) |
Helper function to set edited component we are currently editing |
void |
SetSnapToActorMode ( const bool bInIsSnappingToActor, const ESplineComponentSnapMode InSn... ) |
Snapping: set snap to actor temporary mode |
void |
SnapKeysToLastSelectedAxisPosition ( const EAxis::Type InAxis, TArray< int32 > InSnapKeys ) |
Snapping: snap keys to axis position of last selected key |
void |
SnapKeyToActor ( const AActor* InActor, const ESplineComponentSnapMode Snap... ) |
Snapping: snap key to selected actor |
void |
SnapKeyToTransform ( const ESplineComponentSnapMode InSn..., const FVector& InWorldPos, const FVector& InWorldUpVector, const FVector& InWorldForwardVecto..., const FVector& InScale, const USplineMetadata* InCopyS..., const int32 InCopySplineMetadataKey ) |
Snapping: generic method for snapping selected keys to given transform |
void |
SplitSegment ( const FVector& InWorldPos, int32 InSegmentIndex, bool bCopyFromSegmentBeginIndex ) |
Split segment using given world position |
bool |
TransformSelectedKeys ( EPropertyChangeType::Type InPropert..., const FVector& InDeltaTranslate, const FRotator& InDeltaRotate, const FVector& InDeltaScale ) |
Transforms selected tangent by given translate, rotate and scale |
bool |
TransformSelectedTangent ( EPropertyChangeType::Type InPropert..., const FVector& InDeltaTranslate ) |
Transforms selected tangent by given translation |
void |
UpdateAddSegment ( const FVector& InWorldPos ) |
Add segment to beginning or end of spline |
bool |
UpdateDuplicateKeyForAltDrag ( const FVector& InDrag ) |
Alt-drag: updates duplicated selected spline key |
const USplin... |
UpdateSelectedSplineComponent ( HComponentVisProxy* VisProxy ) |
Updates the component and selected properties if the component has changed |
void |
UpdateSplitSegment ( const FVector& InDrag ) |
Update split segment based on drag offset |