MakeComponentTarget

Create a TargetComponent for the given Component

Windows
MacOS
Linux

References

Module

InteractiveToolsFramework

Header

/Engine/Source/Runtime/Experimental/InteractiveToolsFramework/Public/ComponentSourceInterfaces.h

Include

#include "ComponentSourceInterfaces.h"

Source

/Engine/Source/Runtime/Experimental/InteractiveToolsFramework/Private/ComponentSourceInterfaces.cpp

Syntax

TUniquePtr< FPrimitiveComponentTarget > MakeComponentTarget
(
    UPrimitiveComponent * Component
)

Remarks

Create a TargetComponent for the given Component

Returns

An FComponentTarget instance. Must not return null, though the MeshSource and MeshSink in it's MeshBridge may be

Parameters

Parameter

Description

Component

A UObject that we would like to use as tool target. This must presently descend from UPrimitiveComponent

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss