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