Navigation
API > API/Plugins > API/Plugins/MeshModelingToolsEditorOnlyExp
Inheritance Hierarchy
- UObject
- IInputBehaviorSource
- UInteractiveTool
- UISMEditorTool
References
| Module | MeshModelingToolsEditorOnlyExp |
| Header | /Engine/Plugins/Experimental/MeshModelingToolsetExp/Source/MeshModelingToolsEditorOnlyExp/Public/ISMEditorTool.h |
| Include | #include "ISMEditorTool.h" |
Syntax
UCLASS ()
class UISMEditorTool :
public UInteractiveTool ,
public IInteractiveToolCameraFocusAPI ,
public IClickBehaviorTarget
Variables
| Type | Name | Description | |
|---|---|---|---|
| TArray< FISMEditorTarget > | ActiveGizmos | ||
| TArray< UE::Geometry::FAxisAlignedBox3d > | AllMeshBoundingBoxes | ||
| bool | bCtrlModifier | ||
| bool | bInActiveDrag | ||
| bool | bMeshSceneDirty | ||
| bool | bShiftModifier | ||
| TObjectPtr< USingleClickOrDragInputBehavior > | ClickOrDragBehavior | Marquee Support | |
| TArray< FSelectedInstance > | CurrentSelection | ||
| EISMEditorTransformMode | CurTransformMode | ||
| TSharedPtr< UE::Geometry::FMeshSceneAdapter > | MeshScene | ||
| EISMEditorToolActions | PendingAction | ||
| TObjectPtr< UPreviewGeometry > | PreviewGeometry | ||
| TObjectPtr< URectangleMarqueeMechanic > | RectangleMarqueeMechanic | ||
| TObjectPtr< UISMEditorToolReplacePropertySet > | ReplaceAction | ||
| TArray< TObjectPtr< UInstancedStaticMeshComponent > > | TargetComponents | ||
| TObjectPtr< UISMEditorToolActionPropertySet > | ToolActions | ||
| TObjectPtr< UISMEditorToolProperties > | TransformProps |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | InternalNotifySceneModified
(
const TArray< UInstancedStaticMeshComponent* >& ComponentList, |
||
| void | |||
| void | |||
| void | |||
| void | |||
| void | OnMarqueeRectangleFinished
(
const FCameraRectangle& Rectangle, |
||
| void | |||
| void | |||
| void | |||
| void | |||
| void | RequestAction
(
EISMEditorToolActions ActionType |
||
| void | |||
| void | |||
| void | SetActiveGizmos_Single
(
bool bLocalRotations |
||
| void | SetTargets
(
TArray< UInstancedStaticMeshComponent* > Components |
||
| void | |||
| void | UpdateSelectionFromUndoRedo
(
const TArray< FSelectedInstance >& NewSelection |
||
| void | UpdateSelectionInternal
(
const TArray< FSelectedInstance >& NewSelection, |
||
| void | UpdateSetPivotModes
(
bool bEnableSetPivot |
||
| void | UpdateTransformMode
(
EISMEditorTransformMode NewMode |
Overridden from UInteractiveTool
| Type | Name | Description | |
|---|---|---|---|
| bool | CanAccept () |
||
| void | DrawHUD
(
FCanvas* Canvas, |
Allow the Tool to do any custom screen space drawing | |
| bool | HasAccept () |
||
| bool | HasCancel () |
||
| void | OnTick
(
float DeltaTime |
Allow the Tool to do any necessary processing on Tick | |
| void | RegisterActions
(
FInteractiveToolActionSet& ActionSet |
Override this function to register the set of Actions this Tool supports, using FInteractiveToolActionSet::RegisterAction. | |
| void | Render
(
IToolsContextRenderAPI* RenderAPI |
Allow the Tool to do any custom drawing (ie via PDI/RHI) | |
| void | Setup () |
Called by ToolManager to initialize the Tool after ToolBuilder::BuildTool() has been called | |
| void | Shutdown
(
EToolShutdownType ShutdownType |
Called by ToolManager to shut down the Tool |
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 |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FSelectedInstance |