FPreviewAssetAttachContainer

Component which deals with attaching assets

Windows
MacOS
Linux

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

Name Description

Public function

void

 

AddAttachedObject

(
    UObject* AttachObject,
    FName AttachPointName
)

Adds the given Name/Object to the PreviewAttachedObjects list.

Public function

void

 

AddUniqueAttachedObject

(
    UObject* AttachObject,
    FName AttachPointName
)

Adds the given Name/Object uniquely to the PreviewAttachedObjects list.

Public function

void

 

ClearAllAttachedObjects()

Clears all the preview attached objects

Public function Const

TConstIterat...

 

CreateConstIterator()

Const iterator creator for AttachedObjects

Public function

TIterator

 

CreateIterator()

Iterator creator for AttachedObjects

Public function Const

UObject *...

 

GetAttachedObjectByAttachName

(
    FName AttachName
)

Grab the asset (if any) attached at the place given

Public function Const

int32

 

Num()

Returns the number of attached objects

Public function

void

 

RemoveAtSwap

(
    int32 Index,
    int32 Count,
    bool bAllowShrinking
)

RemoveAtSwap passthrough

Public function

void

 

RemoveAttachedObject

(
    UObject* ObjectToRemove,
    FName AttachName
)

Remove the given object from the attached list

Public function

void

 

SaveAttachedObjectsFromDeprecatedProperties()

Helper function to fix up attached objects after property deprecation

Public function

int32

 

ValidatePreviewAttachedObjects()

Helper function to remove invalid attached object references

Operators

Name Description

Public function

FPreviewAtta...

 

operator[]

(
    int32 i
)

Operator [] - pipes through to AttachedObjects

Public function Const

const FPrevi...

 

operator[]

(
    int32 i
)

Operator [] - pipes through to AttachedObjects

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss