| UObjectBase
|
Module |
|
Header |
/Engine/Plugins/Experimental/MeshModelingToolset/Source/MeshModelingTools/Public/DrawPolygonTool.h |
Include |
#include "DrawPolygonTool.h" |
[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)()
class UDrawPolygonTool :
public UInteractiveTool,
public IClickSequenceBehaviorTarget
This tool allows the user to draw and extrude 2D polygons
Name | Description | ||
---|---|---|---|
|
AssetAPI |
||
|
bAbortActivePolygonDraw |
||
|
bHaveSelfIntersection |
||
|
bHaveSurfaceHit |
Only used when SnapSettings.bHitSceneObjects = true |
|
|
bIgnoreSnappingToggle |
||
|
bInFixedPolygonMode |
||
|
bInInteractiveExtrude |
||
|
bPreviewUpdatePending |
||
|
CameraState |
||
|
CurrentCurveTimestamp |
||
|
DrawPlaneOrientation |
Orientation of plane we will draw polygon on |
|
|
DrawPlaneOrigin |
Origin of plane we will draw polygon on |
|
|
FixedPolygonClickPoints |
||
|
HeightMechanic |
||
|
HitPosFrameWorld |
||
|
LastGridSnapPoint |
||
|
LastSnapGeometry |
||
|
MaterialProperties |
||
|
PlaneTransformGizmo |
||
|
PlaneTransformProxy |
||
|
PolygonHolesVertices |
Vertices of holes in current preview polygon |
|
|
PolygonProperties |
Properties that control polygon generation exposed to user via detailsview |
|
|
PolygonVertices |
Vertices of current preview polygon |
|
|
UPreviewMesh &#... |
PreviewMesh |
|
|
PreviewVertex |
Last vertex of polygon that is actively being updated as input device is moved |
|
|
SelfIntersectionPoint |
||
|
int |
SelfIntersectSegmentIdx |
|
|
SetPointInWorldConnector |
Calls SetDrawPlaneFromWorldPos when user ctrl+clicks on scene |
|
|
TValueWatcher< ... |
ShowGizmoWatcher |
|
|
SnapEngine |
||
|
SnapProperties |
||
|
SurfaceHitPoint |
||
|
SurfaceOffsetPoint |
||
|
UWorld * |
TargetWorld |
Name | Description | |
---|---|---|
|
UDrawPolygonTool() |
Name | Description | ||
---|---|---|---|
|
AppendVertex ( |
||
|
BeginInteractiveExtrude() |
||
|
CheckInCurve ( |
||
|
EmitCurrentPolygon() |
||
|
EndInteractiveExtrude() |
||
|
FindDrawPlaneHitPoint ( |
||
|
GenerateFixedPolygon |
||
|
GeneratePolygonMesh |
Generate extruded meshes. Returns true on success. |
|
|
GetPolygonParametersFromFixedPoints |
||
|
PlaneTransformChanged ( |
Called on PlaneTransformProxy.OnTransformChanged |
|
|
PopLastVertexAction() |
||
|
ResetPolygon() |
Polygon drawing functions |
|
|
SetAssetAPI ( |
||
|
SetDrawPlaneFromWorldPos |
Updates plane and gizmo position |
|
|
SetWorld ( |
||
|
ShowExtrudeMessage() |
||
|
ShowStartupMessage() |
User feedback messages |
|
|
UndoCurrentOperation() |
||
|
UpdateLivePreview() |
||
|
UpdatePreviewVertex ( |
||
|
UpdateSelfIntersection() |
Can close poly if current segment intersects existing segment |
|
|
UpdateShowGizmoState ( |
Name | Description | ||
---|---|---|---|
|
CanAccept() |
||
|
HasAccept() |
||
|
HasCancel() |
||
|
RegisterActions ( |
Override this function to register the set of Actions this Tool supports, using FInteractiveToolActionSet::RegisterAction. |
|
|
Render ( |
Allow the Tool to do any custom drawing (ie via PDI/RHI) |
|
|
Setup() |
Called by ToolManager to initialize the Tool after ToolBuilder::BuildTool() has been called |
|
|
Shutdown ( |
Called by ToolManager to shut down the Tool |
|
|
Tick ( |
Allow the Tool to do any necessary processing on Tick |
Name | Description | ||
---|---|---|---|
|
CanBeginClickSequence ( |
Test if target would like to begin sequence based on this click |
|
|
OnBeginClickSequence ( |
Notify Target that click sequence can begin at click point |
|
|
OnBeginSequencePreview ( |
Notify Target device position has changed but a click sequence hasn't begun yet (eg for interactive previews) |
|
|
OnNextSequenceClick ( |
Notify Target about next click in sqeuence |
|
|
OnNextSequencePreview ( |
Notify Target device position has changed but a click hasn't ocurred yet (eg for interactive previews) |
|
|
OnTerminateClickSequence() |
Notify Target that click sequence has been explicitly terminated (eg by escape key, cancel tool, etc) |
|
|
RequestAbortClickSequence() |
Target overrides this and returns true if it wants to abort click sequence. |
Name | Description | ||
---|---|---|---|
|
OnUpdateModifierState ( |
Notify target of current modifier state |
Name |
Description |
---|---|
AngleSnapModifier |
|
IgnoreSnappingModifier |
Flags used to identify modifier keys/buttons |