engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
FPreviewAssetAttachContainer结构体 参考

Component which deals with attaching assets 更多...

#include <PreviewAssetAttachComponent.h>

Public 成员函数

ENGINE_API void AddAttachedObject (UObject *AttachObject, FName AttachPointName)
 Adds the given Name/Object to the PreviewAttachedObjects list. 更多...
 
ENGINE_API void AddUniqueAttachedObject (UObject *AttachObject, FName AttachPointName)
 Adds the given Name/Object uniquely to the PreviewAttachedObjects list. 更多...
 
ENGINE_API void ClearAllAttachedObjects ()
 Clears all the preview attached objects
 
ENGINE_API TConstIterator CreateConstIterator () const
 Const iterator creator for AttachedObjects
 
ENGINE_API TIterator CreateIterator ()
 Iterator creator for AttachedObjects
 
ENGINE_API UObject * GetAttachedObjectByAttachName (FName AttachName) const
 Grab the asset (if any) attached at the place given 更多...
 
ENGINE_API int32 Num () const
 Returns the number of attached objects
 
ENGINE_API FPreviewAttachedObjectPair & operator[] (int32 i)
 operator [] - pipes through to AttachedObjects
 
ENGINE_API const FPreviewAttachedObjectPair & operator[] (int32 i) const
 operator [] - pipes through to AttachedObjects
 
ENGINE_API void RemoveAtSwap (int32 Index, int32 Count=1, bool bAllowShrinking=true)
 RemoveAtSwap passthrough
 
ENGINE_API void RemoveAttachedObject (UObject *ObjectToRemove, FName AttachName)
 Remove the given object from the attached list 更多...
 
ENGINE_API void SaveAttachedObjectsFromDeprecatedProperties ()
 Helper function to fix up attached objects after property deprecation
 
ENGINE_API int32 ValidatePreviewAttachedObjects ()
 Helper function to remove invalid attached object references
 

详细描述

Component which deals with attaching assets

成员函数说明

◆ AddAttachedObject()

ENGINE_API void FPreviewAssetAttachContainer::AddAttachedObject ( UObject *  AttachObject,
FName  AttachPointName 
)

Adds the given Name/Object to the PreviewAttachedObjects list.

Allows us to recreate the attached objects later

参数
AttachObjectThe object that is being attached
AttachPointNameThe place where the object is attached (bone or socket)

◆ AddUniqueAttachedObject()

ENGINE_API 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

参数
AttachObjectThe object that is being attached
AttachPointNameThe place where the object is attached (bone or socket)

◆ GetAttachedObjectByAttachName()

ENGINE_API UObject * FPreviewAssetAttachContainer::GetAttachedObjectByAttachName ( FName  AttachName) const

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

参数
AttachNameThe name of the attach point (Bone name or socket name) to look for an asset
返回
UObject or NULL if nothing is attached at that location.

◆ RemoveAttachedObject()

ENGINE_API void FPreviewAssetAttachContainer::RemoveAttachedObject ( UObject *  ObjectToRemove,
FName  AttachName 
)

Remove the given object from the attached list

参数
ObjectToRemoveThe object that is being removed

该结构体的文档由以下文件生成: