Choose your operating system:
Windows
macOS
Linux
| UObjectBase
|
Module |
|
Header |
/Engine/Source/Runtime/InteractiveToolsFramework/Public/ContextObjectStore.h |
Include |
#include "ContextObjectStore.h" |
class UContextObjectStore : public UObject
A context object store allows tools to get access to arbitrary objects which expose data or APIs to enable additional functionality. Some example use cases of context objects:
A tool builder may disallow a particular tool if a needed API object is not present in the context store.
A tool may allow extra actions if it has access to a particular API object in the context store.
A tool may choose to initialize itself differently based on the presence of a selection-holding data object in the context store.
Name | Description | ||
---|---|---|---|
|
ContextObjects |
Name | Description | ||
---|---|---|---|
|
AddContextObject ( |
Adds a data object to the tool manager's set of shared data objects. |
|
|
TObjectType ... |
FindContext() |
Finds the first the context object of the given type. Can return a subclass of the given type. |
|
UObject *... |
FindContextByClass ( |
Finds the first context object that derives from the given class. |
|
RemoveContextObject ( |
Removes a data object from the tool manager's set of shared data objects. |
|
|
RemoveContextObjectsOfType() |
||
|
RemoveContextObjectsOfType ( |
Removes any data objects from the tool manager's set of shared data objects that are of type |
|
|
Shutdown() |
Shuts down the context object store, releasing hold on any stored content objects. |