Navigation
API > API/Plugins > API/Plugins/MeshModelingToolsExp
Revolves a selected spline to create a new mesh.
| Name | URevolveSplineTool |
| Type | class |
| Header File | /Engine/Plugins/Experimental/MeshModelingToolsetExp/Source/MeshModelingToolsExp/Public/RevolveSplineTool.h |
| Include Path | #include "RevolveSplineTool.h" |
Syntax
UCLASS (MinimalAPI)
class URevolveSplineTool : public UBaseMeshFromSplinesTool
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UInteractiveTool → UBaseMeshFromSplinesTool → URevolveSplineTool
Implements Interfaces
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bProfileCurveIsClosed | bool | RevolveSplineTool.h | ||
| PlaneMechanic | TObjectPtr< UConstructionPlaneMechanic > | RevolveSplineTool.h | ||
| ProfileCurve | TArray< FVector3d > | The actual points to be resolved, sampled from the spline. | RevolveSplineTool.h | |
| RevolutionAxisDirection | FVector3d | Axis direction in vector form (since the user modifiable values are a pitch and yaw) | RevolveSplineTool.h | |
| RevolutionAxisOrigin | FVector3d | This duplicates Settings->AxisOrigin, but kept for cleanliness since we do need RevolutionAxisDirection. | RevolveSplineTool.h | |
| Settings | TObjectPtr< URevolveSplineToolProperties > | RevolveSplineTool.h | ||
| SplineFitPlaneNormal | FVector3d | RevolveSplineTool.h | ||
| SplineFitPlaneOrigin | FVector3d | RevolveSplineTool.h | ||
| ToolActions | TObjectPtr< URevolveSplineToolActionPropertySet > | RevolveSplineTool.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void RequestAction
(
ERevolveSplineToolAction ActionType |
RevolveSplineTool.h |
Overridden from UBaseMeshFromSplinesTool
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FString GeneratedAssetBaseName() |
Override with an appropriate prefix for generated meshes. | RevolveSplineTool.h | |
virtual FText TransactionName() |
Override with an appropriate tool transaction name. | RevolveSplineTool.h |
Overridden from UInteractiveTool
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| RevolveSplineTool.h | |||
virtual void OnTick
(
float DeltaTime |
RevolveSplineTool.h | ||
virtual void Render
(
IToolsContextRenderAPI* RenderAPI |
RevolveSplineTool.h | ||
virtual void Setup() |
UInteractiveTool. | RevolveSplineTool.h | |
virtual void Shutdown
(
EToolShutdownType ShutdownType |
RevolveSplineTool.h |
Overridden from IDynamicMeshOperatorFactory
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual TUniquePtr< UE::Geometry::FDynamicMeshOperator > MakeNewOperator() |
IDynamicMeshOperatorFactory. | RevolveSplineTool.h |
Protected
Overridden from UBaseMeshFromSplinesTool
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FTransform3d HandleOperatorTransform
(
const FDynamicMeshOpResult& OpResult |
Keep the result mesh in the same space as set by the operator result. | RevolveSplineTool.h | |
virtual void OnSplineUpdate() |
Update the profile curve and fit plane from spline. | RevolveSplineTool.h |