|
| template<typename T > |
| TMeshAttributesConstRef< ElementIDType, typename TMeshAttributesRefType< T >::ConstRefType > | GetAttributesRef (const FName AttributeName) const |
| |
| template<typename T > |
| TMeshAttributesRef< ElementIDType, typename TMeshAttributesRefType< T >::RefType > | GetAttributesRef (const FName AttributeName) |
| |
| int32 | GetAttributeIndexCount (const FName AttributeName) const |
| |
| int32 | GetAttributeChannelCount (const FName AttributeName) const |
| |
| template<typename AttributeType > |
| int32 | GetAttributeIndexCount (const FName AttributeName) const |
| |
| void | SetAttributeIndexCount (const FName AttributeName, const int32 NumChannels) |
| |
| void | SetAttributeChannelCount (const FName AttributeName, const int32 NumChannels) |
| |
| template<typename AttributeType > |
| void | SetAttributeIndexCount (const FName AttributeName, const int32 NumIndices) |
| |
| void | InsertAttributeIndex (const FName AttributeName, const int32 Index) |
| |
| void | InsertAttributeChannel (const FName AttributeName, const int32 Index) |
| |
| template<typename AttributeType > |
| void | InsertAttributeIndex (const FName AttributeName, const int32 Index) |
| |
| void | RemoveAttributeIndex (const FName AttributeName, const int32 Index) |
| |
| void | RemoveAttributeChannel (const FName AttributeName, const int32 Index) |
| |
| template<typename AttributeType > |
| void | RemoveAttributeIndex (const FName AttributeName, const int32 Index) |
| |
| template<typename T > |
| T | GetAttribute (const ElementIDType ElementID, const FName AttributeName, const int32 AttributeChannel=0) const |
| |
| template<typename T > |
| void | SetAttribute (const ElementIDType ElementID, const FName AttributeName, const int32 AttributeChannel, const T &AttributeValue) |
| |
| void | Insert (const ElementIDType ElementID) |
| |
| void | Remove (const ElementIDType ElementID) |
| |
| template<typename ForEachFunc > |
| void | ForEach (ForEachFunc Func) |
| |
| template<typename ForEachFunc > |
| void | ForEach (ForEachFunc Func) const |
| |
| template<typename AttributeType , typename ForEachFunc > |
| void | ForEachByType (ForEachFunc Func) |
| |
| template<typename AttributeType , typename ForEachFunc > |
| void | ForEachByType (ForEachFunc Func) const |
| |
| | FAttributesSetBase () |
| |
| template<typename T > |
| TMeshAttributesArray< typename TMeshAttributesRegisterType< T >::RefType > | RegisterAttributeInternal (const FName AttributeName, const int32 NumberOfChannels=1, const typename TMeshAttributesRegisterType< T >::RealAttributeType &Default=typename TMeshAttributesRegisterType< T >::RealAttributeType(), const EMeshAttributeFlags Flags=EMeshAttributeFlags::None) |
| |
| template<typename T , typename TEnableIf<!TIsArray< T >::Value, int >::Type = 0> |
| TMeshAttributesArray< typename TMeshAttributesRegisterType< T >::RefType > | RegisterAttribute (const FName AttributeName, const int32 NumberOfChannels=1, const T &Default=T(), const EMeshAttributeFlags Flags=EMeshAttributeFlags::None) |
| |
| template<typename T , typename TEnableIf< TIsArray< T >::Value, int >::Type = 0> |
| TMeshAttributesArray< typename TMeshAttributesRegisterType< T >::RefType > | RegisterAttribute (const FName AttributeName, const int32 NumberOfChannels=1, const typename TMeshAttributesRegisterType< T >::RealAttributeType &Default=typename TMeshAttributesRegisterType< T >::RealAttributeType(), const EMeshAttributeFlags Flags=EMeshAttributeFlags::None) |
| |
| template<typename T , typename TEnableIf< std::is_same_v< typename TMeshAttributesRegisterType< T >::RealAttributeType, int >, int >::Type = 0> |
| TMeshAttributesArray< typename TMeshAttributesRegisterType< T >::RefType > | RegisterIndexAttribute (const FName AttributeName, const int32 NumberOfChannels=1, const EMeshAttributeFlags Flags=EMeshAttributeFlags::None) |
| |
| void | UnregisterAttribute (const FName AttributeName) |
| |
| bool | HasAttribute (const FName AttributeName) const |
| |
| template<typename T > |
| bool | HasAttributeOfType (const FName AttributeName) const |
| |
| void | Initialize (const int32 Count) |
| |
| void | SetNumElements (const int32 Count) |
| |
| int32 | GetNumElements () const |
| |
| void | Remap (const TSparseArray< int32 > &IndexRemap) |
| |
| template<typename Allocator > |
| void | GetAttributeNames (TArray< FName, Allocator > &OutAttributeNames) const |
| |
| bool | DoesAttributeHaveAnyFlags (const FName AttributeName, EMeshAttributeFlags AttributeFlags) const |
| |
| bool | DoesAttributeHaveAllFlags (const FName AttributeName, EMeshAttributeFlags AttributeFlags) const |
| |
| uint32 | GetHash (const FName AttributeName) const |
| |
| void | Insert (const int32 Index) |
| |
| void | Remove (const int32 Index) |
| |
| template<typename T > |
| TMeshAttributesConstRef< int32, typename TMeshAttributesRefType< T >::ConstRefType > | GetAttributesRef (const FName AttributeName) const |
| |
| template<typename T > |
| TMeshAttributesRef< int32, typename TMeshAttributesRefType< T >::RefType > | GetAttributesRef (const FName AttributeName) |
| |
| void | AppendAttributesFrom (const FAttributesSetBase &OtherAttributesSet) |
| |
This is a version of the attributes set container which accesses elements by typesafe IDs. This prevents access of (for example) vertex instance attributes by vertex IDs.