Navigation
API > API/Plugins > API/Plugins/FractureEditor > API/Plugins/FractureEditor/FFractureSelectionTools
References
| Module | FractureEditor |
| Header | /Engine/Plugins/Experimental/ChaosEditor/Source/FractureEditor/Public/FractureSelectionTools.h |
| Include | #include "FractureSelectionTools.h" |
| Source | /Engine/Plugins/Experimental/ChaosEditor/Source/FractureEditor/Private/FractureSelectionTools.cpp |
static void ToggleSelectedBones
&40;
UGeometryCollectionComponent &42; GeometryCollectionComponent,
const TArray< int32 > & BoneIndices,
bool bClearCurrentSelection,
bool bAdd,
bool bSnapToLevel
&41;
Remarks
Sets the selected bones on a geometry collection component
Parameters
| Name | Description |
|---|---|
| GeometryCollectionComponent | The component with bones being selected |
| BoneIndices | The indices to select |
| bClearCurrentSelection | Whether to clear the current selection set or just append the new indices to it |
| bAdd | Whether to always add the BoneIndices to the selection, or to toggle them (i.e., de-select if they were previously selected) |
| bSnapToLevel | Whether to snap the selection to the nearest visible bones (in the 3D view and outliner) by searching the parent bones |