Navigation
API > API/Runtime > API/Runtime/InteractiveToolsFramework
A tool target to share some reusable code for tool targets that are backed by primitive components.
| Name | UPrimitiveComponentToolTarget |
| Type | class |
| Header File | /Engine/Source/Runtime/InteractiveToolsFramework/Public/ToolTargets/PrimitiveComponentToolTarget.h |
| Include Path | #include "ToolTargets/PrimitiveComponentToolTarget.h" |
Syntax
UCLASS (Transient, MinimalAPI)
class UPrimitiveComponentToolTarget :
public UToolTarget ,
public IPrimitiveComponentBackedTarget
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UToolTarget → UPrimitiveComponentToolTarget
Implements Interfaces
Derived Classes
UPrimitiveComponentToolTarget derived class hierarchy
Functions
Public
Overridden from UToolTarget
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool IsValid() |
UToolTarget. | ToolTargets/PrimitiveComponentToolTarget.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void BeginDestroy() |
UObject. | ToolTargets/PrimitiveComponentToolTarget.h |
Overridden from IPrimitiveComponentBackedTarget
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual UPrimitiveComponent * GetOwnerComponent() |
IPrimitiveComponentBackedTarget implementation. | ToolTargets/PrimitiveComponentToolTarget.h | |
virtual bool HitTestComponent
(
const FRay& WorldRay, |
Compute ray intersection with geometry this Source is providing (if any) | ToolTargets/PrimitiveComponentToolTarget.h |
Overridden from ISceneComponentBackedTarget
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual AActor * GetOwnerActor() |
ToolTargets/PrimitiveComponentToolTarget.h | ||
virtual USceneComponent * GetOwnerSceneComponent() |
ToolTargets/PrimitiveComponentToolTarget.h | ||
virtual FTransform GetWorldTransform() |
ToolTargets/PrimitiveComponentToolTarget.h | ||
virtual void SetOwnerVisibility
(
bool bVisible |
Set the visibility of the Component associated with this Source (ie to hide during Tool usage) | ToolTargets/PrimitiveComponentToolTarget.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void InitializeComponent
(
UPrimitiveComponent* ComponentIn |
ToolTargets/PrimitiveComponentToolTarget.h |