Choose your operating system:
Windows
macOS
Linux
| UObjectBase
|
Module |
|
Header |
/Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/Mechanics/ConstructionPlaneMechanic.h |
Include |
#include "Mechanics/ConstructionPlaneMechanic.h" |
UCLASS()
class UConstructionPlaneMechanic : public UInteractionMechanic
UConstructionPlaneMechanic implements an interaction in which a 3D plane can be positioned using the standard 3D Gizmo, or placed at hit-locations in the existing scene. A grid in the plane can optionally be rendered.
Name | Description | ||
---|---|---|---|
|
bShowGrid |
||
|
CanUpdatePlaneFunc |
Replace this to externally control if plane can be updated |
|
|
TObjectPtr< USi... |
ClickToSetPlaneBehavior |
|
|
OnPlaneChanged |
||
|
Plane |
||
|
TObjectPtr< UCo... |
PlaneTransformGizmo |
|
|
TObjectPtr< UTr... |
PlaneTransformProxy |
|
|
TUniquePtr< FSe... |
SetPlaneCtrlClickBehaviorTarget |
This is the behavior target used for the Ctrl+click behavior that sets the plane in the world, exposed here so that the user can modify it after Setup() if needed. |
Name | Description | ||
---|---|---|---|
|
Initialize ( |
||
|
SetDrawPlaneFromWorldPos |
||
|
SetPlaneWithoutBroadcast ( |
Sets the plane without broadcasting OnPlaneChanged. |
|
|
TransformChanged ( |
||
|
UpdateClickPriority ( |
Name | Description | ||
---|---|---|---|
|
Render ( |
Allow the Mechanic to do any custom drawing (ie via PDI/RHI) |
|
|
Setup ( |
Called to initialize the InteractionMechanic |
|
|
Shutdown() |
Called to clean up the InteractionMechanic |
|
|
Tick ( |
ALlow the Mechanic to Tick |
Name |
Description |
---|---|
OnConstructionPlaneChangedEvent |