Navigation
API > API/Plugins > API/Plugins/ModelingComponents > API/Plugins/ModelingComponents/Selection
Inheritance Hierarchy
- IModifierToggleBehaviorTarget
- IClickBehaviorTarget
- FSelectClickedAction
References
| Module | ModelingComponents |
| Header | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/Selection/SelectClickedAction.h |
| Include | #include "Selection/SelectClickedAction.h" |
Syntax
class FSelectClickedAction : public IClickBehaviorTarget
Remarks
BehaviorTarget to do world raycast selection from a click Currently used to click-select reference planes in the world
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bShiftModifierToggle | ||
| TUniqueFunction< bool()> | ExternalCanClickPredicate | ||
| TArray< const UPrimitiveComponent * > | InvisibleComponentsToHitTest | ||
| TFunction< void(const FHitResult &)> | OnClickedPositionFunc | ||
| USceneSnappingManager * | SnapManager | ||
| TArray< const UPrimitiveComponent * > | VisibleComponentsToIgnore | These lists can be used to modify which components are hit tested when doing a ray cast. | |
| UWorld * | World |
Overridden from IClickBehaviorTarget
| Type | Name | Description | |
|---|---|---|---|
| FInputRayHit | IsHitByClick
(
const FInputDeviceRay& ClickPos |
Test if target is hit by a click | |
| void | OnClicked
(
const FInputDeviceRay& ClickPos |
Notify Target that click ocurred |
Overridden from IModifierToggleBehaviorTarget
| Type | Name | Description | |
|---|---|---|---|
| void | OnUpdateModifierState
(
int ModifierID, |
Notify target of current modifier state |
Constants
| Name | Description |
|---|---|
| ShiftModifier | Can alternately track shift modifier, however client must register this modifier w/ behavior |