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.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback