engine
 
载入中...
搜索中...
未找到
Public 成员函数 | Protected 成员函数 | 所有成员列表
FTransformCollection类 参考

TransformCollection (ManagedArrayCollection) 更多...

#include <TransformCollection.h>

+ 类 FTransformCollection 继承关系图:

Public 成员函数

virtual void RemoveElements (const FName &Group, const TArray< int32 > &SortedDeletionList, FProcessingParameters Params=FProcessingParameters()) override
 RemoveElements Remove elements from the transform collection. 更多...
 
virtual void Serialize (Chaos::FChaosArchive &Ar) override
 Serialize
 
- Public 成员函数 继承自 FManagedArrayCollection
template<typename T >
TManagedArray< T > & AddAttribute (FName Name, FName Group, FConstructionParameters Parameters=FConstructionParameters())
 Add an attribute of Type(T) to the group 更多...
 
int32 AddElements (int32 NumberElements, FName Group)
 Add elements to a group 更多...
 
template<typename T >
void AddExternalAttribute (FName Name, FName Group, TManagedArray< T > &ValueIn, FConstructionParameters Parameters=FConstructionParameters())
 Add an external attribute of Type(T) to the group for size management. 更多...
 
void AddGroup (FName Group)
 Create a group on the collection. 更多...
 
TArray< FName > AttributeNames (FName Group) const
 List all the attributes in a group names. 更多...
 
void CopyAttribute (const FManagedArrayCollection &InCollection, FName Name, FName Group)
 Copy an attribute. 更多...
 
void CopyMatchingAttributesFrom (const FManagedArrayCollection &InCollection, const TMap< FName, TSet< FName > > *SkipList=nullptr)
 Copy attributes that match the input collection. 更多...
 
void EmptyGroup (FName Group)
 Empty the group 更多...
 
template<typename T >
TManagedArray< T > * FindAttribute (FName Name, FName Group)
 Returns attribute(Name) of Type(T) from the group 更多...
 
template<typename T >
TManagedArray< T > * FindAttributeTyped (FName Name, FName Group)
 Returns attribute(Name) of Type(T) from the group if and only if the types of T and the array match 更多...
 
template<typename T >
TManagedArray< T > & GetAttribute (FName Name, FName Group)
 Returns attribute access of Type(T) from the group 更多...
 
TArray< FName > GroupNames () const
 List all the group names.
 
bool HasAttribute (FName Name, FName Group) const
 Check for the existence of a attribute 更多...
 
FORCEINLINE bool HasGroup (FName Group) const
 Check for the existence of a group 更多...
 
void MakeDirty ()
 Updated for Render ( Mark it dirty ) question: is this the right place for this?
 
int32 NumElements (FName Group) const
 Number of elements in a group 更多...
 
void RemoveAttribute (FName Name, FName Group)
 Remove the attribute from the collection. 更多...
 
virtual void RemoveElements (const FName &Group, const TArray< int32 > &SortedDeletionList, FProcessingParameters Params=FProcessingParameters())
 Remove the element at index and reindex the dependent arrays
 
void RemoveGroup (FName Group)
 Remove the group from the collection. 更多...
 
virtual void ReorderElements (FName Group, const TArray< int32 > &NewOrder)
 Reorders elements in a group. 更多...
 
void Reserve (int32 Size, FName Group)
 Reserve a group 更多...
 
void Resize (int32 Size, FName Group)
 Resize a group 更多...
 
virtual void Serialize (Chaos::FChaosArchive &Ar)
 Serialize 更多...
 
FString ToString () const
 Dump the contents to a FString
 

Protected 成员函数

void Construct ()
 Construct
 
- Protected 成员函数 继承自 FManagedArrayCollection
void SyncGroupSizeFrom (const FManagedArrayCollection &InCollection, FName Group)
 Size and order a group so that it matches the group found in the input collection. 更多...
 

详细描述

TransformCollection (ManagedArrayCollection)

Stores the TArray<T> groups necessary to process transform hierarchies.

参见
FTransformCollectionComponent

成员函数说明

◆ RemoveElements()

virtual void FTransformCollection::RemoveElements ( const FName &  Group,
const TArray< int32 > &  SortedDeletionList,
FProcessingParameters  Params = FProcessingParameters() 
)
overridevirtual

RemoveElements Remove elements from the transform collection.

Transform children are re-parented under the deleted elements parent using local parent compensation [relative local matrices].

重载 FManagedArrayCollection .

被 FGeometryCollection 重载.


该类的文档由以下文件生成: