Navigation
API > API/Plugins > API/Plugins/FractureEditor > API/Plugins/FractureEditor/UFractureEditorMode
- UEdMode::ComputeBoundingBoxForViewportFocus()
- UFractureEditorMode::ComputeBoundingBoxForViewportFocus()
References
| Module | FractureEditor |
| Header | /Engine/Plugins/Experimental/ChaosEditor/Source/FractureEditor/Public/FractureEditorMode.h |
| Include | #include "FractureEditorMode.h" |
| Source | /Engine/Plugins/Experimental/ChaosEditor/Source/FractureEditor/Private/FractureEditorMode.cpp |
virtual bool ComputeBoundingBoxForViewportFocus
&40;
AActor &42; Actor,
UPrimitiveComponent &42; PrimitiveComponent,
FBox & InOutBox
&41; const
Remarks
Allows an editor mode to override the bounding box used to focus the viewport on a selection bool true if the mode overrides the box and populated InOutBox, false if it did not populate InOutBox
Parameters
| Name | Description |
|---|---|
| Actor | The selected actor that is being considered for focus |
| PrimitiveComponent | The component in the actor being considered for focus |
| InOutBox | The box that should be computed for the actor and component |