![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <PreviewAssetAttachComponent.h>
Component which deals with attaching assets
| void FPreviewAssetAttachContainer::AddAttachedObject | ( | UObject * | AttachObject, |
| FName | AttachPointName | ||
| ) |
Adds the given Name/Object to the PreviewAttachedObjects list. Allows us to recreate the attached objects later
| AttachObject | The object that is being attached |
| AttachPointName | The place where the object is attached (bone or socket) |
| void FPreviewAssetAttachContainer::AddUniqueAttachedObject | ( | UObject * | AttachObject, |
| FName | AttachPointName | ||
| ) |
Adds the given Name/Object uniquely to the PreviewAttachedObjects list. Allows us to recreate the attached objects later
| AttachObject | The object that is being attached |
| AttachPointName | The place where the object is attached (bone or socket) |
| void FPreviewAssetAttachContainer::ClearAllAttachedObjects | ( | ) |
Clears all the preview attached objects
| TConstIterator FPreviewAssetAttachContainer::CreateConstIterator | ( | ) | const |
Const iterator creator for AttachedObjects
| TIterator FPreviewAssetAttachContainer::CreateIterator | ( | ) |
Iterator creator for AttachedObjects
Grab the asset (if any) attached at the place given
| AttachName | The name of the attach point (Bone name or socket name) to look for an asset |
| int32 FPreviewAssetAttachContainer::Num | ( | ) | const |
Returns the number of attached objects
| FPreviewAttachedObjectPair & FPreviewAssetAttachContainer::operator[] | ( | int32 | i | ) |
operator [] - pipes through to AttachedObjects
| const FPreviewAttachedObjectPair & FPreviewAssetAttachContainer::operator[] | ( | int32 | i | ) | const |
operator [] - pipes through to AttachedObjects
| void FPreviewAssetAttachContainer::RemoveAtSwap | ( | int32 | Index, |
| EAllowShrinking | AllowShrinking = EAllowShrinking::Default |
||
| ) |
RemoveAtSwap passthrough
|
inline |
| void FPreviewAssetAttachContainer::RemoveAtSwap | ( | int32 | Index, |
| int32 | Count, | ||
| EAllowShrinking | AllowShrinking = EAllowShrinking::Default |
||
| ) |
| void FPreviewAssetAttachContainer::RemoveAttachedObject | ( | UObject * | ObjectToRemove, |
| FName | AttachName | ||
| ) |
Remove the given object from the attached list
| ObjectToRemove | The object that is being removed |
| void FPreviewAssetAttachContainer::SaveAttachedObjectsFromDeprecatedProperties | ( | ) |
Helper function to fix up attached objects after property deprecation
| int32 FPreviewAssetAttachContainer::ValidatePreviewAttachedObjects | ( | ) |
Helper function to remove invalid attached object references