Module |
|
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 |
void Initialize
(
const FDynamicMesh3 * Mesh,
FTransform TargetTransform,
UWorld * World,
const FGroupTopology * Topology,
TFunction< FDynamicMeshAABBTree3 *()> GetSpatialSourceFunc,
TFunction< bool)> GetAddToSelectionModifierStateFunc
)
Initializes the mechanic.
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. |