27 template<
typename Predicate>
74 template<
typename Predicate>
84 template<
typename Predicate>
96 template<
typename AdaptorType,
typename StorageType>
179 return AttributesRef.IsValid();
245 AttributesConstRef(
InAttribs.AttributesRef)
250 AttributesConstRef =
InAttribs.AttributesRef;
256 return AttributesConstRef.IsValid();
#define check(expr)
Definition AssertionMacros.h:314
@ INDEX_NONE
Definition CoreMiscDefines.h:150
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
Internal::TVertexBoneWeightsBase< Internal::FAttributesRefAdapter, int32 > FVertexBoneWeights
Definition SkinWeightsAttributesRef.h:153
Internal::TVertexBoneWeightsBase< Internal::FAttributesRefAdapterConst, const int32 > FVertexBoneWeightsConst
Definition SkinWeightsAttributesRef.h:154
UE_INTRINSIC_CAST UE_REWRITE constexpr std::remove_reference_t< T > && MoveTemp(T &&Obj) noexcept
Definition UnrealTemplate.h:520
Definition SkeletalMeshAttributes.h:47
Definition SkeletalMeshAttributes.h:221
Definition SkinWeightsAttributesRef.h:225
FSkinWeightsVertexAttributesConstRef(const FSkinWeightsVertexAttributesRef &InAttribs)
Definition SkinWeightsAttributesRef.h:244
FSkinWeightsVertexAttributesConstRef(TVertexAttributesRef< TArrayAttribute< int32 > > InAttributesConstRef)
Definition SkinWeightsAttributesRef.h:268
FSkinWeightsVertexAttributesConstRef & operator=(FSkinWeightsVertexAttributesConstRef &&InAttributesRef) noexcept
Definition SkinWeightsAttributesRef.h:236
FSkinWeightsVertexAttributesConstRef & operator=(const FSkinWeightsVertexAttributesRef &InAttribs)
Definition SkinWeightsAttributesRef.h:248
FVertexBoneWeightsConst Get(FVertexID InVertexIndex) const
Definition SkinWeightsAttributesRef.h:259
FSkinWeightsVertexAttributesConstRef(TVertexAttributesRef< TArrayAttribute< const int32 > > InAttributesConstRef)
Definition SkinWeightsAttributesRef.h:272
bool IsValid() const
Definition SkinWeightsAttributesRef.h:254
FSkinWeightsVertexAttributesConstRef()=default
FSkinWeightsVertexAttributesConstRef(const FSkinWeightsVertexAttributesConstRef &)=default
FSkinWeightsVertexAttributesConstRef(FSkinWeightsVertexAttributesConstRef &&) noexcept=default
Definition SkinWeightsAttributesRef.h:159
bool IsValid() const
Definition SkinWeightsAttributesRef.h:177
void Set(const FVertexID InVertexIndex, const UE::AnimationCore::FBoneWeights &InWeights)
Definition SkinWeightsAttributesRef.h:187
FSkinWeightsVertexAttributesRef()=default
FSkinWeightsVertexAttributesRef(TVertexAttributesRef< TArrayAttribute< int32 > > InAttributesRef)
Definition SkinWeightsAttributesRef.h:214
FVertexBoneWeights Get(const FVertexID InVertexIndex) const
Definition SkinWeightsAttributesRef.h:182
FSkinWeightsVertexAttributesRef(const FSkinWeightsVertexAttributesRef &)=default
FSkinWeightsVertexAttributesRef(FSkinWeightsVertexAttributesRef &&) noexcept=default
FSkinWeightsVertexAttributesRef & operator=(FSkinWeightsVertexAttributesRef &&InAttributesRef) noexcept
Definition SkinWeightsAttributesRef.h:170
void Set(const FVertexID InVertexIndex, TArrayView< const UE::AnimationCore::FBoneWeight > InWeights, const UE::AnimationCore::FBoneWeightsSettings &InSettings={})
Definition SkinWeightsAttributesRef.h:199
Definition SkinWeightsAttributesRef.h:109
const_iterator(const TVertexBoneWeightsBase< AdaptorType, StorageType > *InWeights, int32 InIndex)
Definition SkinWeightsAttributesRef.h:132
const TVertexBoneWeightsBase< AdaptorType, StorageType > * Weights
Definition SkinWeightsAttributesRef.h:140
int32 Index
Definition SkinWeightsAttributesRef.h:141
bool operator!=(const const_iterator &InOther) const
Definition SkinWeightsAttributesRef.h:117
const_iterator & operator++()
Definition SkinWeightsAttributesRef.h:111
UE::AnimationCore::FBoneWeight operator*() const
Definition SkinWeightsAttributesRef.h:122
Definition SkinWeightsAttributesRef.h:99
const_iterator begin() const
Definition SkinWeightsAttributesRef.h:144
const_iterator end() const
Definition SkinWeightsAttributesRef.h:145
TVertexBoneWeightsBase(const TArrayAttribute< StorageType > InContainer)
Definition SkinWeightsAttributesRef.h:102
Definition AttributeArrayContainer.h:393
void SetNumUninitialized(int32 Num)
Definition AttributeArrayContainer.h:491
Definition ArrayView.h:139
Definition MeshAttributeArray.h:836
Definition BoneWeights.h:48
static FBoneWeight FromInt32(int32 InBoneWeight)
Definition BoneWeights.h:197
Definition BoneWeights.h:229
A simple container for per-vertex influence of bones and their weights.
Definition BoneWeights.h:526
Definition BoneWeights.h:390
int32 Num() const
Definition BoneWeights.h:459
U16 Index
Definition radfft.cpp:71
Definition MeshTypes.h:90
Definition SkinWeightsAttributesRef.h:12
static int32 Num(const ContainerType &InContainer)
Definition SkinWeightsAttributesRef.h:17
static int32 IndexOf(const ContainerType &InContainer, Predicate InPredicate)
Definition SkinWeightsAttributesRef.h:28
static FBoneWeight Get(const ContainerType &InContainer, int32 InIndex)
Definition SkinWeightsAttributesRef.h:22
Definition SkinWeightsAttributesRef.h:39
static int32 IndexOf(const ContainerType &InContainer, Predicate InPredicate)
Definition SkinWeightsAttributesRef.h:85
static FBoneWeight Get(const ContainerType &InContainer, int32 InIndex)
Definition SkinWeightsAttributesRef.h:54
static int32 Num(const ContainerType &InContainer)
Definition SkinWeightsAttributesRef.h:49
static void Add(ContainerType &InContainer, FBoneWeight InBoneWeight)
Definition SkinWeightsAttributesRef.h:64
static void Sort(ContainerType &InContainer, Predicate InPredicate)
Definition SkinWeightsAttributesRef.h:75
static void SetNum(ContainerType &InContainer, int32 InNum)
Definition SkinWeightsAttributesRef.h:44
static void Set(ContainerType &InContainer, int32 InIndex, FBoneWeight InBoneWeight)
Definition SkinWeightsAttributesRef.h:59
static void Remove(ContainerType &InContainer, int32 InIndex)
Definition SkinWeightsAttributesRef.h:69