Navigation
API > API/Plugins > API/Plugins/UVEditor > API/Plugins/UVEditor/UUVEditorMode
Description
TODO: We'll probably eventually want a function like this so we can figure out how big our 3d preview scene is and how we should position the camera intially... FBoxSphereBounds GetLivePreviewBoundingBox() const; Unlike UInteractiveToolManager::EmitObjectChange, emitting an object change using this function does not cause it to expire when the active tool doesn't match the emitting tool. It is important that the emitted change deals properly with expiration itself, for instance expiring itself when a tool input is invalid or a contained preview is disconnected. TODO: Should this sort of option exist in UInteractiveToolManager?
| Name | EmitToolIndependentObjectChange |
| Type | function |
| Header File | /Engine/Plugins/Editor/UVEditor/Source/UVEditor/Public/UVEditorMode.h |
| Include Path | #include "UVEditorMode.h" |
| Source | /Engine/Plugins/Editor/UVEditor/Source/UVEditor/Private/UVEditorMode.cpp |
void EmitToolIndependentObjectChange
(
UObject * TargetObject,
TUniquePtr < FToolCommandChange > Change,
const FText & Description
)