Choose your operating system:
Windows
macOS
Linux
| UObjectBase
|
Module |
|
Header |
/Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/Mechanics/LatticeControlPointsMechanic.h |
Include |
#include "Mechanics/LatticeControlPointsMechanic.h" |
UCLASS()
class ULatticeControlPointsMechanic :
public UInteractionMechanic,
public IClickBehaviorTarget,
public IHoverBehaviorTarget
Name | Description | ||
---|---|---|---|
|
bCtrlToggle |
||
|
bGizmoBeingDragged |
Used to make it easy to tell whether the gizmo was moved by the user or by undo/redo or some other change that we shouldn't respond to. |
|
|
bHasChanged |
||
|
bShiftToggle |
Support for Shift and Ctrl toggle. |
|
|
CachedCameraState |
||
|
ColorOverrides |
||
|
ControlPoints |
||
|
CurrentChangeStamp |
Used for expiring undo/redo changes, which compare this to their stored value and expire themselves if they do not match. |
|
|
CurrentDragSelection |
||
|
TObjectPtr< UPo... |
DrawnControlPoints |
|
|
TObjectPtr< ULi... |
DrawnLatticeEdges |
|
|
GeometrySet |
Used for spatial queries. |
|
|
GeometrySetToleranceTest |
Support for hovering. |
|
|
GizmoStartPosition |
The starting point of the gizmo is needed to determine the offset by which to move the points. |
|
|
GizmoStartRotation |
||
|
GizmoStartScale |
||
|
HoverColor |
||
|
HoveredPointID |
||
|
LatticeEdges |
||
|
LocalToWorldTransform |
||
|
TObjectPtr< URe... |
MarqueeMechanic |
Support for selection. |
|
NormalPointColor |
||
|
NormalSegmentColor |
Variables for drawing. |
|
|
OnPointsChanged |
||
|
OnSelectionChanged |
||
|
float |
PointsSize |
|
|
TObjectPtr< UCo... |
PointTransformGizmo |
|
|
TObjectPtr< UTr... |
PointTransformProxy |
Support for gizmo. |
|
PreDragSelection |
||
|
PreHoverPointColor |
Cache previous color while temporarily changing the color of a hovered-over point. |
|
|
TObjectPtr< APr... |
PreviewGeometryActor |
Used for displaying points/segments |
|
float |
SegmentsThickness |
|
|
SelectedColor |
||
|
SelectedPointIDs |
||
|
SelectedPointStartPositions |
We need the selected point start positions so we can move multiple points appropriately. |
|
|
ShouldAddToSelectionFunc |
Default modifier key behavior is consistent with PolygonSelectionMechanic. |
|
|
ShouldRemoveFromSelectionFunc |
Name | Description | ||
---|---|---|---|
|
Render ( |
Allow the Mechanic to do any custom drawing (ie via PDI/RHI) |
|
|
Setup ( |
||
|
Shutdown() |
Called to clean up the InteractionMechanic |
Name | Description | ||
---|---|---|---|
|
IsHitByClick ( |
IClickBehaviorTarget implementation. |
|
|
OnClicked ( |
Notify Target that click ocurred |
Name | Description | ||
---|---|---|---|
|
OnUpdateModifierState ( |
Notify target of current modifier state |
Name | Description | ||
---|---|---|---|
|
BeginHoverSequenceHitTest ( |
IHoverBehaviorTarget implementation. |
|
|
OnBeginHover ( |
Initialize hover sequence at given position |
|
|
OnEndHover() |
Terminate active hover sequence |
|
|
OnUpdateHover ( |
Update active hover sequence with new input position |
Name |
Description |
---|---|
FTransform3d |
|
FVector2i |
|
OnPointsChangedEvent |
This delegate is called every time the control points are moved. |
OnSelectionChangedEvent |
This delegate is called every time the control point selection changes. |
Name |
Description |
---|---|
CtrlModifierID |
|
ShiftModifierID |