|
| | TMeshAttributesRef (BaseArrayType *InArrayPtr=nullptr, uint32 InExtent=1) |
| |
| template<typename SrcAttributeType , typename DestAttributeType = AttributeType, typename TEnableIf< std::is_const_v< DestAttributeType >, int >::Type = 0, typename TEnableIf<!std::is_const_v< SrcAttributeType >, int >::Type = 0> |
| | TMeshAttributesRef (const TMeshAttributesRef< ElementIDType, SrcAttributeType > &InRef) |
| |
| template<typename IDType = ElementIDType, typename TEnableIf<!std::is_same_v< IDType, int32 >, int >::Type = 0> |
| | TMeshAttributesRef (const TMeshAttributesRef< int32, AttributeType > &InRef) |
| |
| template<typename SrcAttributeType , typename DestAttributeType = AttributeType, typename IDType = ElementIDType, typename TEnableIf<!std::is_same_v< IDType, int32 >, int >::Type = 0, typename TEnableIf< std::is_const_v< DestAttributeType >, int >::Type = 0, typename TEnableIf<!std::is_const_v< SrcAttributeType >, int >::Type = 0> |
| | TMeshAttributesRef (const TMeshAttributesRef< int32, SrcAttributeType > &InRef) |
| |
| template<typename T = ElementIDType, typename TEnableIf< TIsDerivedFrom< T, FElementID >::Value, int >::Type = 0> |
| AttributeType & | operator[] (const ElementIDType ElementID) const |
| |
| template<typename T = ElementIDType, typename TEnableIf< TIsDerivedFrom< T, FElementID >::Value, int >::Type = 0> |
| AttributeType | Get (const ElementIDType ElementID, const int32 Channel=0) const |
| |
| AttributeType & | operator[] (int32 ElementIndex) const |
| |
| AttributeType | Get (int32 ElementIndex, const int32 Channel=0) const |
| |
| TArrayView< AttributeType > | GetArrayView (int32 ElementIndex, const int32 Channel=0) const |
| |
| TArrayView< AttributeType > | GetRawArray (const int32 AttributeChannel=0) const |
| |
| bool | IsValid () const |
| |
| AttributeType | GetDefaultValue () const |
| |
| int32 | GetNumIndices () const |
| |
| int32 | GetNumChannels () const |
| |
| int32 | GetNumElements () const |
| |
| EMeshAttributeFlags | GetFlags () const |
| |
| uint32 | GetExtent () const |
| |
| template<typename T = ElementIDType, typename TEnableIf< TIsDerivedFrom< T, FElementID >::Value, int >::Type = 0> |
| void | Set (const ElementIDType ElementID, const AttributeType &Value) const |
| |
| template<typename T = ElementIDType, typename TEnableIf< TIsDerivedFrom< T, FElementID >::Value, int >::Type = 0> |
| void | Set (const ElementIDType ElementID, const int32 Channel, const AttributeType &Value) const |
| |
| void | Set (int32 ElementIndex, const AttributeType &Value) const |
| |
| void | Set (int32 ElementIndex, const int32 Channel, const AttributeType &Value) const |
| |
| void | SetArrayView (int32 ElementIndex, TArrayView< const AttributeType > Value) const |
| |
| void | SetArrayView (int32 ElementIndex, const int32 Channel, TArrayView< const AttributeType > Value) const |
| |
| void | Copy (TMeshAttributesRef< ElementIDType, const AttributeType > Src, const int32 DestChannel=0, const int32 SrcChannel=0) |
| |
| void | SetNumIndices (const int32 NumChannels) const |
| |
| void | SetNumChannels (const int32 NumChannels) const |
| |
| void | InsertIndex (const int32 Index) const |
| |
| void | InsertChannel (const int32 Channel) const |
| |
| void | RemoveIndex (const int32 Index) const |
| |
| void | RemoveChannel (const int32 Channel) const |
| |
This is the class used to access attribute values. It is a proxy object to a TMeshAttributeArraySet<> and should be passed by value. It is valid for as long as the owning FMeshDescription exists.