#include "CoreMinimal.h"
#include "Math/UnrealMath.h"
#include "Misc/Optional.h"
#include "Templates/Function.h"
Go to the source code of this file.
◆ AddComponentTargetFactory()
Add a factory method to make ComponentTarget from UPrimitiveComponent*
- Parameters
-
| Factory | The ComponentTargetFactory |
- Returns
- integer indentifier that identifies this Factory
◆ CanMakeComponentTarget()
Determine whether a TargetComponent can be created for the given Component
- Parameters
-
| Component | A UObject that we would like to use as tool target. |
- Returns
- bool signifying whether or not a ComponentTarget can be built
◆ FindComponentTargetFactoryByKey()
- Returns
- ComponentTargetFactory associated with the given Key, or nullptr if not found
◆ MakeComponentTarget()
Create a TargetComponent for the given Component
- Parameters
-
| Component | A UObject that we would like to use as tool target. This must presently descend from UPrimitiveComponent |
- Returns
- An FComponentTarget instance. Must not return null, though the MeshSource and MeshSink in it's MeshBridge may be
◆ RemoveAllComponentTargetFactoryies()
remove all registered ComponentTargetFactory objects
◆ RemoveComponentTargetFactoryByKey()
- Returns
- true if ComponentTargetFactory associated with the given Key was found and removed