Navigation
API > API/Runtime > API/Runtime/InteractiveToolsFramework > API/Runtime/InteractiveToolsFramework/BaseGizmos > API/Runtime/InteractiveToolsFramework/BaseGizmos/UE__GizmoUtil__C-
References
| Module | InteractiveToolsFramework |
| Header | /Engine/Source/Runtime/InteractiveToolsFramework/Public/BaseGizmos/GizmoUtil.h |
| Include | #include "BaseGizmos/GizmoUtil.h" |
| Source | /Engine/Source/Runtime/InteractiveToolsFramework/Private/BaseGizmos/GizmoUtil.cpp |
namespace UE
{
namespace GizmoUtil
{
UInteractiveGizmo * UE::GizmoUtil::CreateGizmoViaSimpleBuilder
(
UInteractiveGizmoManager * GizmoManager,
TSubclassOf< UInteractiveGizmo > GizmoClass,
const FString & InstanceIdentifier,
void * Owner
)
}
}
Remarks
Uses the gizmo manager to create a gizmo of the given class (assuming that the gizmo type does not need any special setup beyond instantiation) without having to register a custom builder for that class ahead of time.
This function lets the user bypass the need to define, register, and use a builder class, while still registering the gizmo properly with the gizmo manager. Under the hood, it creates and registers a temporary generic builder, uses it to make the gizmo, and then immediately deregisters the builder.