Navigation
API > API/Editor > API/Editor/UnrealEd
Describes a chain of properties from the parent actor of a given component, to the component itself.
| Name | FComponentPropertyPath |
| Type | struct |
| Header File | /Engine/Source/Editor/UnrealEd/Public/ComponentVisualizer.h |
| Include Path | #include "ComponentVisualizer.h" |
Syntax
USTRUCT ()
struct FComponentPropertyPath
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| ComponentVisualizer.h | |||
FComponentPropertyPath
(
const UActorComponent* Component |
ComponentVisualizer.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| LastResortComponentPtr | TWeakObjectPtr< UActorComponent > | ComponentVisualizer.h | ||
| ParentOwningActor | TWeakObjectPtr< AActor > | ComponentVisualizer.h | ||
| PropertyChain | TArray< FPropertyNameAndIndex > | ComponentVisualizer.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UActorComponent * GetComponent() |
Gets a pointer to the component, or nullptr if it is not valid | ComponentVisualizer.h | |
AActor * GetParentOwningActor() |
Gets the parent owning actor for the component, or nullptr if it is not valid | ComponentVisualizer.h | |
bool IsValid() |
Determines whether the property path is valid or not | ComponentVisualizer.h | |
void Reset() |
Resets the property path | ComponentVisualizer.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool operator!=
(
const FComponentPropertyPath& InRHS |
ComponentVisualizer.h | ||
bool operator==
(
const FComponentPropertyPath& InRHS |
ComponentVisualizer.h |