UPolygonSelectionMechanic::Initialize

Initializes the mechanic.

Windows
MacOS
Linux

References

Module

ModelingComponents

Header

/Engine/Plugins/Experimental/MeshModelingToolset/Source/ModelingComponents/Public/Selection/PolygonSelectionMechanic.h

Include

#include "Selection/PolygonSelectionMechanic.h"

Source

/Engine/Plugins/Experimental/MeshModelingToolset/Source/ModelingComponents/Private/Selection/PolygonSelectionMechanic.cpp

Syntax

void Initialize
(
    const FDynamicMesh3 * Mesh,
    FTransform TargetTransform,
    UWorld * World,
    const FGroupTopology * Topology,
    TFunction< FDynamicMeshAABBTree3 *()> GetSpatialSourceFunc,
    TFunction< bool)> GetAddToSelectionModifierStateFunc
)

Remarks

Initializes the mechanic.

Parameters

Parameter

Description

Mesh

Mesh that we are operating on.

TargetTransform

Transform of the mesh.

World

World in which we are operating, used to add drawing components that draw highlighted edges.

Topology

Group topology of the mesh.

GetSpatialSourceFunc

Function that returns an AABB tree for the mesh.

GetAddToSelectionModifierStateFunc

Functions that returns whether new selection should be trying to append to an existing selection, usually by checking whether a particular modifier key is currently pressed.

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