Navigation
API > API/Runtime > API/Runtime/Engine
Component which deals with attaching assets
| Name | FPreviewAssetAttachContainer |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Classes/Animation/PreviewAssetAttachComponent.h |
| Include Path | #include "Animation/PreviewAssetAttachComponent.h" |
Syntax
USTRUCT ()
struct FPreviewAssetAttachContainer
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AttachedObjects | TArray< FPreviewAttachedObjectPair > | Animation/PreviewAssetAttachComponent.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddAttachedObject
(
UObject* AttachObject, |
Adds the given Name/Object to the PreviewAttachedObjects list. | Animation/PreviewAssetAttachComponent.h | |
void AddUniqueAttachedObject
(
UObject* AttachObject, |
Adds the given Name/Object uniquely to the PreviewAttachedObjects list. | Animation/PreviewAssetAttachComponent.h | |
void ClearAllAttachedObjects() |
Clears all the preview attached objects | Animation/PreviewAssetAttachComponent.h | |
TConstIterator CreateConstIterator() |
Const iterator creator for AttachedObjects | Animation/PreviewAssetAttachComponent.h | |
TIterator CreateIterator() |
Iterator creator for AttachedObjects | Animation/PreviewAssetAttachComponent.h | |
| Grab the asset (if any) attached at the place given | Animation/PreviewAssetAttachComponent.h | ||
int32 Num() |
Returns the number of attached objects | Animation/PreviewAssetAttachComponent.h | |
void RemoveAtSwap
(
int32 Index, |
RemoveAtSwap passthrough | Animation/PreviewAssetAttachComponent.h | |
void RemoveAtSwap
(
int32 Index, |
Animation/PreviewAssetAttachComponent.h | ||
void RemoveAtSwap
(
int32 Index, |
Animation/PreviewAssetAttachComponent.h | ||
| Remove the given object from the attached list | Animation/PreviewAssetAttachComponent.h | ||
void SaveAttachedObjectsFromDeprecatedProperties() |
Helper function to fix up attached objects after property deprecation | Animation/PreviewAssetAttachComponent.h | |
int32 ValidatePreviewAttachedObjects() |
Helper function to remove invalid attached object references | Animation/PreviewAssetAttachComponent.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FPreviewAttachedObjectPair & operator[]
(
int32 i |
Operator [] - pipes through to AttachedObjects | Animation/PreviewAssetAttachComponent.h | |
const FPreviewAttachedObjectPair & operator[]
(
int32 i |
Operator [] - pipes through to AttachedObjects | Animation/PreviewAssetAttachComponent.h |