| FComponentVisualizer | ||
| FGCObject
|
Module |
|
Header |
/Engine/Source/Editor/ComponentVisualizers/Public/SplineComponentVisualizer.h |
Include |
#include "SplineComponentVisualizer.h" |
class FSplineComponentVisualizer :
public FComponentVisualizer,
public FGCObject
SplineComponent visualizer/edit functionality
Name | Description | ||
---|---|---|---|
|
AddKeyLockedAxis |
Axis to fix when adding new spline points. |
|
|
bAllowDuplication |
Whether we currently allow duplication when dragging |
|
|
bDuplicatingSplineKey |
Alt-drag: True when in process of duplicating a spline key. |
|
|
bIsSnappingToActor |
Snap: True when in process of snapping to actor which needs to be Ctrl-Selected. |
|
|
bUpdatingAddSegment |
Alt-drag: True when in process of adding end segment. |
|
|
float |
DuplicateCacheSplitSegmentParam |
Alt-drag: Cached segment parameter for split segment at new control point |
|
DuplicateDelay |
Alt-drag: Delays duplicating control point to accumulate sufficient drag input offset. |
|
|
DuplicateDelayAccumulatedDrag |
Alt-drag: Accumulates delayed drag offset. |
|
|
SelectionState |
Current selection state |
|
|
SnapToActorMode |
Snap: Snap to actor mode. |
|
|
TSharedPtr< FUI... |
SplineComponentVisualizerActions |
Output log commands |
|
SplineCurvesProperty |
Name | Description | |
---|---|---|
|
FSplineComponentVisualizer() |
Name | Description | |
---|---|---|
|
~FSplineComponentVisualizer() |
Name | Description | ||
---|---|---|---|
|
AddSegment |
Add segment to beginning or end of spline |
|
|
AreKeysSelected() |
Whether any keys are currently selected |
|
|
AreMultipleKeysSelected() |
Whether a multiple spline keys are currently selected |
|
|
CanAddKeyToSegment() |
||
|
CanDeleteKey() |
||
|
CanResetToAutomaticTangent ( |
||
|
CanResetToDefault() |
||
|
CanSelectSplinePoints() |
||
|
ChangeSelectionState |
Update the key selection state of the visualizer |
|
|
CreateSplineGeneratorPanel() |
||
|
DuplicateKeyForAltDrag ( |
Alt-drag: duplicates the selected spline key |
|
|
float |
FindNearest |
Return spline data for point on spline closest to input point |
|
GenerateContextMenuSections ( |
Add menu sections to the context menu |
|
|
GenerateLockAxisSubMenu ( |
Generate the submenu containing the lock axis types |
|
|
GenerateSelectSplinePointsSubMenu ( |
Generate the submenu containing available selection actions |
|
|
GenerateSnapAlignSubMenu ( |
Generate the submenu containing the available snap/align actions |
|
|
GenerateSplinePointTypeSubMenu ( |
Generate the submenu containing the available point types |
|
|
GenerateTangentTypeSubMenu ( |
Generate the submenu containing the available auto tangent types |
|
|
USplineCompo... |
GetEditedSplineComponent() |
Get the spline component we are currently editing |
|
const TSet< ... |
GetSelectedKeys() |
|
|
GetSnapToActorMode ( |
Snapping: get snap to actor temporary mode |
|
|
HandleSelectAllSplinePoints ( |
Select all spline points, , returns true if the spline component being edited has changed |
|
|
HandleSelectFirstLastSplinePoint ( |
Select first or last spline point, returns true if the spline component being edited has changed |
|
|
IsAnySelectedKeyIndexOutOfRange ( |
Determine if any selected key index is out of range (perhaps because something external has modified the spline) |
|
|
IsDiscontinuousSpline() |
||
|
IsKeySelectionValid() |
||
|
IsKeyTypeSet ( |
||
|
IsLockAxisSet ( |
||
|
IsSingleKeySelected() |
Whether a single spline key is currently selected |
|
|
IsVisualizingRollAndScale() |
||
|
OnAddKeyToSegment() |
||
|
OnDeleteKey() |
||
|
OnDuplicateKey() |
Duplicates selected spline keys in place |
|
|
OnLockAxis ( |
||
|
OnResetToAutomaticTangent ( |
||
|
OnResetToDefault() |
||
|
OnSelectAllSplinePoints() |
Select all spline points, if no spline points selected yet the currently edited spline component will be set as well |
|
|
OnSelectFirstLastSplinePoint ( |
Select first or last spline point |
|
|
OnSelectPrevNextSplinePoint |
Select next or prev spline point, loops when last point is currently selected |
|
|
OnSetDiscontinuousSpline() |
||
|
OnSetKeyType ( |
||
|
OnSetVisualizeRollAndScale() |
||
|
OnSnapAllToAxis ( |
||
|
OnSnapKeyToActor ( |
||
|
OnSnapKeyToNearestSplinePoint ( |
||
|
OnSnapSelectedToAxis ( |
||
|
ResetAllowDuplication() |
Alt-drag: duplicates the selected spline key |
|
|
ResetTempModes() |
Reset temporary modes after inputs are handled. |
|
|
SelectSplinePoint |
Select spline point at specified index |
|
|
SetCachedRotation ( |
Sets the new cached rotation on the visualizer |
|
|
SetEditedSplineComponent ( |
Helper function to set edited component we are currently editing |
|
|
SetSnapToActorMode ( |
Snapping: set snap to actor temporary mode |
|
|
SnapKeysToLastSelectedAxisPosition ( |
Snapping: snap keys to axis position of last selected key |
|
|
SnapKeyToActor ( |
Snapping: snap key to selected actor |
|
|
SnapKeyToTransform ( |
Snapping: generic method for snapping selected keys to given transform |
|
|
SplitSegment |
Split segment using given world position |
|
|
TransformSelectedKeys |
Transforms selected tangent by given translate, rotate and scale |
|
|
TransformSelectedTangent ( |
Transforms selected tangent by given translation |
|
|
UpdateAddSegment ( |
Add segment to beginning or end of spline |
|
|
UpdateDuplicateKeyForAltDrag ( |
Alt-drag: updates duplicated selected spline key |
|
|
const USplin... |
UpdateSelectedSplineComponent ( |
Updates the component and selected properties if the component has changed |
|
UpdateSplitSegment ( |
Update split segment based on drag offset |
Name | Description | ||
---|---|---|---|
|
DrawVisualization ( |
Draw visualization for the supplied component |
|
|
DrawVisualizationHUD ( |
Draw HUD on viewport for the supplied component |
|
|
EndEditing() |
||
|
TSharedPtr< ... |
GenerateContextMenu() |
|
|
GetCustomInputCoordinateSystem ( |
||
|
UActorCompon... |
GetEditedComponent() |
Get currently edited component, this is needed to reset the active visualizer after undo/redo |
|
GetWidgetLocation ( |
||
|
HandleBoxSelect ( |
Handle box select input |
|
|
HandleFrustumSelect ( |
Handle frustum select input |
|
|
HandleInputDelta ( |
||
|
HandleInputKey ( |
||
|
HandleModifiedClick ( |
Handle click modified by Alt, Ctrl and/or Shift. The input HitProxy may not be on this component. |
|
|
HandleSnapTo |
Pass snap input to active visualizer |
|
|
HasFocusOnSelectionBoundingBox ( |
Return whether focus on selection should focus on bounding box defined by active visualizer |
|
|
IsVisualizingArchetype() |
||
|
OnRegister() |
||
|
VisProxyHandleClick ( |
Name | Description | ||
---|---|---|---|
|
AddReferencedObjects ( |
Pure virtual that must be overloaded by the inheriting class. |
Name |
Description |
---|---|
WeakExistingWindow |