Navigation
API > API/Runtime > API/Runtime/InteractiveToolsFramework > API/Runtime/InteractiveToolsFramework/ToolTargets
Inheritance Hierarchy
- UObject
- UToolTarget
- UPrimitiveComponentToolTarget
- UDataflowComponentReadOnlyToolTarget
- UDataflowComponentToolTarget
- UDynamicMeshComponentToolTarget
- USkeletalMeshComponentReadOnlyToolTarget
- USkeletalMeshComponentToolTarget
- UStaticMeshComponentToolTarget
- UVolumeComponentToolTarget
References
| Module | InteractiveToolsFramework |
| Header | /Engine/Source/Runtime/InteractiveToolsFramework/Public/ToolTargets/PrimitiveComponentToolTarget.h |
| Include | #include "ToolTargets/PrimitiveComponentToolTarget.h" |
Syntax
UCLASS (Transient, MinimalAPI)
class UPrimitiveComponentToolTarget :
public UToolTarget ,
public IPrimitiveComponentBackedTarget
Remarks
A tool target to share some reusable code for tool targets that are backed by primitive components.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TWeakObjectPtr< UPrimitiveComponent > | Component |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | BeginDestroy () |
UObject. | |
| void | InitializeComponent
(
UPrimitiveComponent* ComponentIn |
Overridden from UToolTarget
| Type | Name | Description | |
|---|---|---|---|
| bool | IsValid () |
UToolTarget. |
Overridden from IPrimitiveComponentBackedTarget
| Type | Name | Description | |
|---|---|---|---|
| AActor * | |||
| UPrimitiveComponent * | IPrimitiveComponentBackedTarget implementation. | ||
| FTransform | |||
| bool | HitTestComponent
(
const FRay& WorldRay, |
Compute ray intersection with the MeshDescription this Source is providing | |
| void | SetOwnerVisibility
(
bool bVisible |
Set the visibility of the Component associated with this Source (ie to hide during Tool usage) |