USpatialCurveDistanceMechanic

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

ModelingComponents

Header

/Engine/Plugins/Experimental/MeshModelingToolset/Source/ModelingComponents/Public/Mechanics/SpatialCurveDistanceMechanic.h

Include

#include "Mechanics/SpatialCurveDistanceMechanic.h"

Syntax

[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)()
class USpatialCurveDistanceMechanic : public UInteractionMechanic

Variables

Name Description

Public variable

FVector3d

 

CurrentCurvePoint

Public variable

double

 

CurrentDistance

Current distance

Public variable

FVector3d

 

CurrentSpacePoint

Protected variable

TArray< FVector...

 

Curve

Protected variable

FDynamicMesh3

 

TargetHitMesh

Protected variable

FDynamicMeshAAB...

 

TargetHitMeshAABB

Protected variable

FTransform3d

 

Transform

Public variable

TUniqueFunction...

 

WorldPointSnapFunc

If this function is set, the hit point will be passed in to this function for snapping.

Functions

Name Description

Public function Virtual

void

 

InitializePolyCurve

(
    const TArray< FVector3d >& CurvePo...,
    const FTransform3d& Transform
)

Public function Virtual

void

 

InitializePolyLoop

(
    const TArray< FVector3d >& CurvePo...,
    const FTransform3d& Transform
)

Public function Virtual

void

 

UpdateCurrentDistance

(
    const FRay& WorldRay
)

Update the current distance/height based on the input world ray

Overridden from UInteractionMechanic

Name Description

Public function Virtual

void

 

Render

(
    IToolsContextRenderAPI* Render...
)

Allow the Mechanic to do any custom drawing (ie via PDI/RHI)

Public function Virtual

void

 

Setup

(
    UInteractiveTool* ParentTool
)

Called to initialize the InteractionMechanic

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss