Navigation
API > API/Plugins > API/Plugins/ModelingComponents > API/Plugins/ModelingComponents/IGeometrySelector
Description
Compute a 3D frame for the provided Selection. For example this could simply be a frame aligned to the XYZ axes at the center of the selection bounding-box, or something more sophisticated, like aligned to the tangent-space of the selected element(s), etc.
Derived Overrides
| Name | GetSelectionFrame |
| Type | function |
| Header File | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/Selection/GeometrySelector.h |
| Include Path | #include "Selection/GeometrySelector.h" |
void GetSelectionFrame
(
const FGeometrySelection & Selection,
UE::Geometry::FFrame3d & SelectionFrameOut,
bool bTransformToWorld
)
Parameters
| Name | Remarks |
|---|---|
| bTransformToWorld | if true the resulting SelectionFrameOut will be in world-space, based on GetLocalToWorldTransform() |