Navigation
API > API/Runtime > API/Runtime/InteractiveToolsFramework
References
| Module | InteractiveToolsFramework |
| Header | /Engine/Source/Runtime/InteractiveToolsFramework/Public/ComponentSourceInterfaces.h |
| Include | #include "ComponentSourceInterfaces.h" |
| Source | /Engine/Source/Runtime/InteractiveToolsFramework/Private/ComponentSourceInterfaces.cpp |
TUniquePtr< FPrimitiveComponentTarget > MakeComponentTarget
(
UPrimitiveComponent * Component
)
Remarks
Create a TargetComponent for the given Component An FComponentTarget instance. Must not return null, though the MeshSource and MeshSink in it's MeshBridge may be
Parameters
| Name | Description |
|---|---|
| Component | A UObject that we would like to use as tool target. This must presently descend from UPrimitiveComponent |