Choose your operating system:
Windows
macOS
Linux
| FSubobjectData
|
Module |
|
Header |
/Engine/Source/Editor/SubobjectDataInterface/Public/SubobjectData.h |
Include |
#include "SubobjectData.h" |
struct FSubobjectData
A struct that represents a single subobject. This can be anything, but are most commonly components attached to an actor instance or blueprint. Keeps track of the handles to its parent object and any child that it has.
If you wish to modify a subobject, use the SubobjectDataSubsystem.
Name | Description | ||
---|---|---|---|
|
ChildrenHandles |
Set of child subobjects that use this subobject as a parent. |
|
|
Handle |
Handle that will have a globally unique ID when it is constructed (i.e. when this is constructed) |
|
|
ParentObjectHandle |
Handle to this object's parent. If this is invalid, then it is the root subobject. |
|
|
TWeakObjectPtr<... |
SCSNodePtr |
For now, we need a pointer to the SCS node in order to have the correct component template and to be able to get the UBlueprint* from components. |
|
TWeakObjectPtr<... |
WeakObjectPtr |
Weak ptr to the object instance represented by this node (e.g. component template) |
Name | Description | |
---|---|---|
|
FSubobjectData() |
|
|
FSubobjectData ( |
Name | Description | |
---|---|---|
|
~FSubobjectData() |
Name | Description | ||
---|---|---|---|
|
AddChildHandleOnly ( |
Add the given subobject handle as a child of this. |
|
|
AttemptToSetSCSNode() |
Attempts to set the SCS node member variable based on the WeakObjectPtr. |
|
|
CanCopy() |
||
|
CanDelete() |
||
|
CanDuplicate() |
||
|
CanEdit() |
||
|
CanRename() |
||
|
CanReparent() |
||
|
ClearParentHandle() |
||
|
FSubobjectDa... |
FindChild ( |
Attempt to find the given handle in out child array and return a pointer to it. |
|
FSubobjectDa... |
FindChildByObject ( |
Attempt to find the given handle in out child array and return a pointer to it. |
|
const UActor... |
FindComponentInstanceInActor ( |
|
|
UActorCompon... |
FindMutableComponentInstanceInActor ( |
|
|
USCS_Node &#... |
FindSCSNodeForInstance ( |
Anything related to an SCS node will be changed with an upcoming refactor and should remain private. |
|
GetActorDisplayText() |
||
|
GetAssetName() |
Get the asset name of this subobject from the asset brokerage |
|
|
GetAssetPath() |
Get the asset path of this subobject from the asset brokerage |
|
|
UBlueprint &... |
GetBlueprint() |
|
|
const TArray... |
GetChildrenHandles() |
|
|
GetComponentEditorOnlyTooltipText() |
Retrieves a tooltip text describing if the component is marked Editor only or not |
|
|
const UActor... |
GetComponentTemplate ( |
@note Deliberately non-virtual, for performance reasons. |
|
GetDisplayName() |
||
|
GetDisplayNameContextModifiers ( |
Returns a string that gives details about this subobject. |
|
|
GetDisplayString ( |
||
|
GetDragDropDisplayText() |
Get the display name of this subobject that should be used during drag/drop operations |
|
|
FSubobjectDa... |
GetHandle() |
|
|
GetIntroducedInToolTipText() |
Retrieves tooltip text describing where the component was first introduced (for inherited components). |
|
|
GetMobilityToolTipText() |
Retrieves tooltip text describing the specified component's mobility. |
|
|
AActor * |
GetMutableActorContext() |
If this subobject is an actor, then return a pointer to that. |
|
UActorCompon... |
GetMutableComponentTemplate ( |
|
|
T * |
GetMutableObject ( |
|
|
UObject *... |
GetMutableObject ( |
Muteable accessors for this subobject to be used by the subsystem. |
|
T * |
GetMutableObjectForBlueprint ( |
|
|
const T *... |
GetObject ( |
@note Deliberately non-virtual, for performance reasons. |
|
const UObjec... |
GetObject ( |
|
|
const T *... |
GetObjectForBlueprint ( |
|
|
const UObjec... |
GetObjectForBlueprint ( |
@note May not be the same as the value returned by GetObject(). |
|
FSubobjectDa... |
GetParentData() |
|
|
FSubobjectDa... |
GetParentHandle() |
|
|
FSubobjectDa... |
GetRootSubobject() |
Walks the parent heirarchy and returns the root subobject in this case |
|
USCS_Node &#... |
GetSCSNode ( |
|
|
GetSocketFName() |
||
|
GetSocketName() |
Sockets for attaching in the viewport. |
|
|
GetVariableName() |
||
|
HasChild ( |
Return true if the given handle is a child of this subobject. |
|
|
HasParent() |
||
|
HasValidSocket() |
||
|
IsActor() |
||
|
IsAssetVisible() |
Returns true if the asset this object represents is visible |
|
|
IsAttachedTo ( |
||
|
IsBlueprintInheritedComponent() |
||
|
IsChildActor() |
||
|
IsChildActorSubtreeObject() |
Returns true if this subobject is a part of a child actor's hierarchy and not the root actor. |
|
|
IsComponent() |
Returns true if this subobject is a component. |
|
|
IsDefaultSceneRoot() |
||
|
IsInheritedComponent() |
||
|
IsInheritedSCSNode() |
True if this SCS node's blueprint is a child of another Blueprint-generated class, which means that we must use the InheritableComponentHandler |
|
|
IsInstancedActor() |
||
|
IsInstancedComponent() |
||
|
IsInstancedInheritedComponent() |
True if this subobject is an instance of an inherited component (its owner is an instanced actor) |
|
|
IsNativeComponent() |
||
|
IsRootActor() |
||
|
IsRootComponent() |
||
|
IsSceneComponent() |
||
|
IsValid() |
True if this subobject's handle is valid |
|
|
RemoveChildHandleOnly ( |
Add the given subobject handle as a child of this. |
|
|
SceneRootHasDefaultName() |
Returns true if the component template's FName starts with USceneComponent::GetDefaultSceneRootVariableName |
|
|
SetParentHandle ( |
||
|
SetSocketName ( |
||
|
SetupAttachment ( |