Navigation
API > API/Plugins > API/Plugins/MeshModelingToolsExp
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UInteractiveTool
- UDrawPolyPathTool
References
| Module | MeshModelingToolsExp |
| Header | /Engine/Plugins/Experimental/MeshModelingToolsetExp/Source/MeshModelingToolsExp/Public/DrawPolyPathTool.h |
| Include | #include "DrawPolyPathTool.h" |
Syntax
UCLASS&40;&41;
class UDrawPolyPathTool :
public UInteractiveTool,
public IClickBehaviorTarget,
public IHoverBehaviorTarget
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bHasSavedExtrudeHeight | ||
| bool | bHasSavedRadius | ||
| bool | bHasSavedWidth | ||
| bool | bIgnoreSnappingToggle | ||
| bool | bPathIsClosed | ||
| bool | bSpecifyingRadius | ||
| FViewCameraState | CameraState | ||
| double | CurHeight | ||
| double | CurPathLength | ||
| TArray< UE::Geometry::FFrame3d > | CurPathPoints | ||
| TArray< FVector3d > | CurPolyLine | ||
| TArray< FVector3d > | CurPolyLoop | ||
| int32 | CurrentCurveTimestamp | ||
| TObjectPtr< USpatialCurveDistanceMechanic > | CurveDistMechanic | ||
| UE::Geometry::FFrame3d | DrawPlaneWorld | ||
| TObjectPtr< UPolyEditPreviewMesh > | EditPreview | ||
| TObjectPtr< UPlaneDistanceFromHitMechanic > | ExtrudeHeightMechanic | ||
| TObjectPtr< UDrawPolyPathExtrudeProperties > | ExtrudeProperties | ||
| TObjectPtr< UNewMeshMaterialProperties > | MaterialProperties | ||
| TArray< double > | OffsetScaleFactors | ||
| TObjectPtr< UCreateMeshObjectTypeProperties > | OutputTypeProperties | Property set for type of output object (StaticMesh, Volume, etc) | |
| TObjectPtr< UConstructionPlaneMechanic > | PlaneMechanic | ||
| float | SavedExtrudeHeight | ||
| float | SavedRadius | ||
| float | SavedWidth | ||
| TArray< FVector3d > | SecondPolyLoop | ||
| EState | State | ||
| TObjectPtr< UCollectSurfacePathMechanic > | SurfacePathMechanic | ||
| UWorld * | TargetWorld | ||
| TObjectPtr< UDrawPolyPathProperties > | TransformProps | ||
| float | UVScaleFactor | UV Scale factor to apply to texturing on any new geometry (e.g. new faces added by extrude) | |
| FTransform3d | WorldTransform | Camera state at last render |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | |||
| void | |||
| void | |||
| void | |||
| void | |||
| bool | |||
| bool | CheckInCurve
(
int32 Timestamp |
||
| void | ClearPreview () |
||
| void | |||
| void | GenerateExtrudeMesh
(
UE::Geometry::FDynamicMesh3& PathMesh |
||
| FVector3d | GeneratePathMesh
(
UE::Geometry::FDynamicMesh3& Mesh |
||
| bool | HitTest
(
const FRay& Ray, |
||
| void | |||
| void | |||
| void | |||
| void | |||
| void | |||
| void | |||
| void | |||
| void | |||
| void | |||
| void | User feedback messages | ||
| void | UndoCurrentOperation
(
EState DestinationState |
||
| void | |||
| void | |||
| void |
Overridden from UInteractiveTool
| Type | Name | Description | |
|---|---|---|---|
| bool | CanAccept () |
||
| bool | HasAccept () |
||
| bool | HasCancel () |
||
| void | OnPropertyModified
(
UObject* PropertySet, |
Automatically called by UInteractiveToolPropertySet.OnModified delegate to notify Tool of child property set changes | |
| void | OnTick
(
float DeltaTime |
Allow the Tool to do any necessary processing on Tick | |
| 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 |
IClickBehaviorTarget API. | |
| void | OnClicked
(
const FInputDeviceRay& ClickPos |
Notify Target that click ocurred |
Overridden from IModifierToggleBehaviorTarget
| Type | Name | Description | |
|---|---|---|---|
| void | OnUpdateModifierState
(
int ModifierID, |
IModifierToggleBehaviorTarget. |
Overridden from IHoverBehaviorTarget
| Type | Name | Description | |
|---|---|---|---|
| FInputRayHit | BeginHoverSequenceHitTest
(
const FInputDeviceRay& PressPos |
IHoverBehaviorTarget API. | |
| void | OnBeginHover
(
const FInputDeviceRay& DevicePos |
Initialize hover sequence at given position | |
| void | OnEndHover () |
Terminate active hover sequence | |
| bool | OnUpdateHover
(
const FInputDeviceRay& DevicePos |
Update active hover sequence with new input position |
Enums
| Type | Name | Description | |
|---|---|---|---|
| EState |
Constants
| Name | Description |
|---|---|
| ShiftModifierID |