Navigation
API > API/Plugins > API/Plugins/MeshModelingToolsExp
UAlignObjectsTool transforms the input Components so that they are aligned in various ways, depending on the current settings. The object positions move after every change in the parameters. Currently those changes are not transacted. On cancel the original positions are restored, and on accept the positions are updated with a transaction.
| Name | UAlignObjectsTool |
| Type | class |
| Header File | /Engine/Plugins/Experimental/MeshModelingToolsetExp/Source/MeshModelingToolsExp/Public/AlignObjectsTool.h |
| Include Path | #include "AlignObjectsTool.h" |
Syntax
UCLASS (MinimalAPI)
class UAlignObjectsTool :
public UMultiSelectionMeshEditingTool ,
public IClickDragBehaviorTarget
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UInteractiveTool → UMultiSelectionTool → UMultiSelectionMeshEditingTool → UAlignObjectsTool
Implements Interfaces
- IClickDragBehaviorTarget
- IModifierToggleBehaviorTarget
- IInputBehaviorSource
- IInteractiveToolCameraFocusAPI
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UAlignObjectsTool() |
AlignObjectsTool.h |
Structs
| Name | Remarks |
|---|---|
| FAlignInfo |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FAxisAlignedBox3d | UE::Geometry::FAxisAlignedBox3d | AlignObjectsTool.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AlignProps | TObjectPtr< UAlignObjectsToolProperties > | AlignObjectsTool.h |
Functions
Public
Overridden from UMultiSelectionMeshEditingTool
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void OnShutdown
(
EToolShutdownType ShutdownType |
AlignObjectsTool.h |
Overridden from UInteractiveTool
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool CanAccept() |
AlignObjectsTool.h | ||
virtual bool HasAccept() |
AlignObjectsTool.h | ||
virtual bool HasCancel() |
AlignObjectsTool.h | ||
| AlignObjectsTool.h | |||
virtual void OnTick
(
float DeltaTime |
AlignObjectsTool.h | ||
virtual void RegisterActions
(
FInteractiveToolActionSet& ActionSet |
AlignObjectsTool.h | ||
virtual void Render
(
IToolsContextRenderAPI* RenderAPI |
AlignObjectsTool.h | ||
virtual void Setup() |
AlignObjectsTool.h |
Overridden from IClickDragBehaviorTarget
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FInputRayHit CanBeginClickDragSequence
(
const FInputDeviceRay& PressPos |
AlignObjectsTool.h | ||
virtual void OnClickDrag
(
const FInputDeviceRay& DragPos |
AlignObjectsTool.h | ||
virtual void OnClickPress
(
const FInputDeviceRay& PressPos |
AlignObjectsTool.h | ||
virtual void OnClickRelease
(
const FInputDeviceRay& ReleasePos |
AlignObjectsTool.h | ||
virtual void OnTerminateDragSequence() |
AlignObjectsTool.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Precompute() |
AlignObjectsTool.h | ||
void UpdateAlignment() |
AlignObjectsTool.h | ||
void UpdateAlignment_BoundingBoxes() |
AlignObjectsTool.h | ||
void UpdateAlignment_Pivots() |
AlignObjectsTool.h |