This is a wrapper for an allocated attributes array. 更多...
#include <MeshAttributeArray.h>
Public 成员函数 | |
| void | CreateArrayOfType (const uint32 Type) |
| Given a type at runtime, allocate an attribute array of that type, owned by Ptr | |
| FORCEINLINE | FAttributesSetEntry ()=default |
| Default constructor. 更多... | |
| FAttributesSetEntry (const FAttributesSetEntry &Other) | |
| Polymorphic copy: a new copy of Other is created | |
| template<typename AttributeType > | |
| FORCEINLINE | FAttributesSetEntry (const int32 NumberOfIndices, const AttributeType &Default, const EMeshAttributeFlags Flags, const int32 NumElements) |
| Construct a valid FAttributesSetEntry of the concrete type specified. | |
| FAttributesSetEntry (FAttributesSetEntry &&)=default | |
| Default move constructor | |
| FORCEINLINE const FMeshAttributeArraySetBase * | Get () const |
| Transparent access through the TUniquePtr | |
| FORCEINLINE | operator bool () const |
| Object can be coerced to bool to indicate if it is valid | |
| FAttributesSetEntry & | operator= (const FAttributesSetEntry &Other) |
| Polymorphic assignment | |
| FAttributesSetEntry & | operator= (FAttributesSetEntry &&)=default |
| Default move assignment | |
| FORCEINLINE | ~FAttributesSetEntry ()=default |
| Default destructor | |
友元 | |
| FArchive & | operator<< (FArchive &Ar, FAttributesSetEntry &Entry) |
| Serialization | |
This is a wrapper for an allocated attributes array.
It holds a TUniquePtr pointing to the actual attributes array, and performs polymorphic copy and assignment, as per the actual array type.
|
default |
Default constructor.
This breaks the invariant that Ptr be always valid, but is necessary so that it can be the value type of a TMap.