17 return !(*
this == Other);
27 if (UVs.Num() != Other.
UVs.Num())
49 return !(*
this == Other);
56 return Element.Type != EVertexElementType::VET_None;
59 for (
const auto& Elem : UVs)
61 if (IsElementValid(Elem))
67 return IsElementValid(Position) || IsElementValid(Normal) || IsElementValid(Tangent) || IsElementValid(
Color);
80 if (Element.Type != EVertexElementType::VET_None)
82 check(MaxStride == 0 || Element.Stride == MaxStride || Element.Stride == 0);
83 MaxStride =
FMath::Max(MaxStride, Element.Stride);
90 for (
const auto& Elem : UVs)
104 return Element.Type == EVertexElementType::VET_None || Element.Stride > 0;
107 for (
const auto& Elem : UVs)
109 if (!IsElementValid(Elem))
115 return IsElementValid(Position) && IsElementValid(Normal) && IsElementValid(Tangent) && IsElementValid(
Color);
122 return Left.
Type == EVertexElementType::VET_None || Right.Type == EVertexElementType::VET_None;
126 if (UVs.Num() > 0 && Other.
UVs.Num() > 0)
132 return HasNoOverlap(Position, Other.
Position) && HasNoOverlap(Normal, Other.
Normal) && HasNoOverlap(Tangent, Other.
Tangent) && HasNoOverlap(
Color, Other.
Color);
FRuntimeMeshVertexStreamStructureElement Position
bool operator==(const FRuntimeMeshVertexStreamStructureElement &Other) const
FRuntimeMeshVertexStreamStructureElement Normal
bool operator!=(const FRuntimeMeshVertexStreamStructureElement &Other) const
uint8 CalculateStride() const
static bool ValidTripleStream(const FRuntimeMeshVertexStreamStructure &Stream1, const FRuntimeMeshVertexStreamStructure &Stream2, const FRuntimeMeshVertexStreamStructure &Stream3)
bool HasNoOverlap(const FRuntimeMeshVertexStreamStructure &Other) const
TArray< FRuntimeMeshVertexStreamStructureElement, TInlineAllocator< RUNTIMEMESH_MAXTEXCOORDS > > UVs
static const textual_icon check
bool operator==(const FRuntimeMeshVertexStreamStructure &Other) const
bool operator!=(const FRuntimeMeshVertexStreamStructure &Other) const
FRuntimeMeshVertexStreamStructureElement Color
bool HasAnyElements() const
FRuntimeMeshVertexStreamStructureElement Tangent