104 template<
typename VectorType>
142 template<
typename VectorType>
174 template<
typename VectorType>
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
UE::Math::TVector< float > FVector3f
Definition MathFwd.h:73
UE::Math::TVector< double > FVector3d
Definition MathFwd.h:60
TVertexAttributesRef< FVector3f > GetVertexPositions()
Definition MeshAttributes.h:85
TVertexAttributesConstRef< FVector3f > GetVertexPositions() const
Definition MeshAttributes.h:208
TTriangleAttributesConstRef< TArrayView< FVertexInstanceID > > GetTriangleVertexInstanceIndices() const
Definition MeshAttributes.h:223
int32 Num() const
Definition MeshElementContainer.h:120
Definition StaticMeshAttributes.h:54
TVertexInstanceAttributesRef< FVector3f > GetVertexInstanceNormals()
Definition StaticMeshAttributes.h:91
Definition StaticMeshAttributes.h:125
TVertexInstanceAttributesConstRef< FVector3f > GetVertexInstanceNormals() const
Definition StaticMeshAttributes.h:133
TVertexInstanceAttributesConstRef< FVector2f > GetVertexInstanceUVs() const
Definition StaticMeshAttributes.h:132
Definition ArrayView.h:139
Definition MeshAttributeArray.h:836
UE::Math::TVector2< T > Normalized(const UE::Math::TVector2< T > &Vector, const T Epsilon=0)
Definition VectorTypes.h:61
Definition MeshDescriptionAdapter.h:189
TVertexAttributesRef< FVector3f > VertexPositions
Definition MeshDescriptionAdapter.h:193
FVector3f GetNormal(int32 IDValue) const
Definition MeshDescriptionAdapter.h:274
bool HasNormals() const
Definition MeshDescriptionAdapter.h:258
FMeshDescriptionEditableTriangleMeshAdapter(FMeshDescription *MeshIn)
Definition MeshDescriptionAdapter.h:197
FIndex3i GetTriangle(int32 IDValue) const
Definition MeshDescriptionAdapter.h:235
bool IsTriangle(int32 TID) const
Definition MeshDescriptionAdapter.h:204
void SetVertex(int32 IDValue, const FVector3d &NewPos)
Definition MeshDescriptionAdapter.h:244
int32 MaxVertexID() const
Definition MeshDescriptionAdapter.h:221
FVector3d GetVertex(int32 IDValue) const
Definition MeshDescriptionAdapter.h:240
UE::Geometry::FIndex3i FIndex3i
Definition MeshDescriptionAdapter.h:190
uint64 GetChangeStamp() const
Definition MeshDescriptionAdapter.h:229
bool IsVertex(int32 VID) const
Definition MeshDescriptionAdapter.h:208
bool IsNormal(int32 NID) const
Definition MeshDescriptionAdapter.h:262
int32 MaxTriangleID() const
Definition MeshDescriptionAdapter.h:213
int32 MaxNormalID() const
Definition MeshDescriptionAdapter.h:266
FMeshDescription * Mesh
Definition MeshDescriptionAdapter.h:192
int32 VertexCount() const
Definition MeshDescriptionAdapter.h:225
int32 NormalCount() const
Definition MeshDescriptionAdapter.h:270
void GetTriVertices(int32 IDValue, FVector3d &V0, FVector3d &V1, FVector3d &V2) const
Definition MeshDescriptionAdapter.h:249
int32 TriangleCount() const
Definition MeshDescriptionAdapter.h:217
void SetNormal(int32 IDValue, const FVector3f &Normal)
Definition MeshDescriptionAdapter.h:278
TVertexInstanceAttributesRef< FVector3f > VertexInstanceNormals
Definition MeshDescriptionAdapter.h:194
Definition MeshDescriptionAdapter.h:290
FMeshDescriptionMeshAdapterd(FMeshDescriptionTriangleMeshAdapter ParentAdapterIn)
Definition MeshDescriptionAdapter.h:306
FMeshDescriptionMeshAdapterd(const FMeshDescription *MeshIn)
Definition MeshDescriptionAdapter.h:293
FMeshDescriptionTriangleMeshAdapter ParentAdapter
Definition MeshDescriptionAdapter.h:291
Definition MeshDescriptionAdapter.h:22
bool IsUV(const int32 UVId) const
Definition MeshDescriptionAdapter.h:154
void GetTriVertices(int32 IDValue, VectorType &V0, VectorType &V1, VectorType &V2) const
Definition MeshDescriptionAdapter.h:105
const FMeshDescription * Mesh
Definition MeshDescriptionAdapter.h:25
uint64 GetChangeStamp() const
Definition MeshDescriptionAdapter.h:76
bool HasNormals() const
Definition MeshDescriptionAdapter.h:116
FMeshDescriptionTriangleMeshAdapter(const FMeshDescription *MeshIn)
Definition MeshDescriptionAdapter.h:35
int32 VertexCount() const
Definition MeshDescriptionAdapter.h:72
TVertexAttributesConstRef< FVector3f > VertexPositions
Definition MeshDescriptionAdapter.h:26
void GetTriVertices(int32 IDValue, FVector3d &V0, FVector3d &V1, FVector3d &V2) const
Definition MeshDescriptionAdapter.h:93
TVertexInstanceAttributesConstRef< FVector2f > VertexInstanceUVs
Definition MeshDescriptionAdapter.h:28
void SetBuildScale(const FVector3d &BuildScaleIn, bool bScaleNormalsIn)
Definition MeshDescriptionAdapter.h:45
int32 MaxNormalID() const
Definition MeshDescriptionAdapter.h:124
bool HasUVs(const int32 UVLayer=0) const
Definition MeshDescriptionAdapter.h:150
void GetTriNormals(int32 TriId, VectorType &N0, VectorType &N1, VectorType &N2)
Definition MeshDescriptionAdapter.h:143
TVertexInstanceAttributesConstRef< FVector3f > VertexInstanceNormals
Definition MeshDescriptionAdapter.h:27
bool bScaleNormals
Definition MeshDescriptionAdapter.h:32
bool IsVertex(int32 VID) const
Definition MeshDescriptionAdapter.h:55
FVector3d GetVertex(int32 IDValue) const
Definition MeshDescriptionAdapter.h:87
int32 MaxUVID() const
Definition MeshDescriptionAdapter.h:158
TArrayView< const FVertexInstanceID > TriangleVertexInstanceIndices
Definition MeshDescriptionAdapter.h:29
void GetTriUVs(const int32 TriId, const int32 UVLayer, VectorType &UV0, VectorType &UV1, VectorType &UV2)
Definition MeshDescriptionAdapter.h:175
FVector3f GetNormal(int32 IDValue) const
Definition MeshDescriptionAdapter.h:134
int32 UVCount() const
Definition MeshDescriptionAdapter.h:162
bool IsNormal(int32 NID) const
Definition MeshDescriptionAdapter.h:120
int32 MaxTriangleID() const
Definition MeshDescriptionAdapter.h:60
FIndex3i GetTriangle(int32 IDValue) const
Definition MeshDescriptionAdapter.h:82
FVector2f GetUV(const int32 IDValue, const int32 UVLayer) const
Definition MeshDescriptionAdapter.h:168
int32 NormalCount() const
Definition MeshDescriptionAdapter.h:128
FVector3d BuildScale
Definition MeshDescriptionAdapter.h:31
UE::Geometry::FIndex3i FIndex3i
Definition MeshDescriptionAdapter.h:23
int32 TriangleCount() const
Definition MeshDescriptionAdapter.h:64
int32 MaxVertexID() const
Definition MeshDescriptionAdapter.h:68
bool IsTriangle(int32 TID) const
Definition MeshDescriptionAdapter.h:51
Definition MeshDescription.h:94
int32 GetNumUVElementChannels() const
Definition MeshDescription.h:1216
FVertexArray & Vertices()
Definition MeshDescription.h:129
void GetTriangleVertices(const FTriangleID TriangleID, TArrayView< FVertexID > OutVertexIDs) const
Definition MeshDescription.h:792
FTriangleArray & Triangles()
Definition MeshDescription.h:141
Definition MeshTypes.h:206
Definition MeshTypes.h:90
Definition MeshTypes.h:120
Definition IndexTypes.h:158
Definition MeshAdapter.h:24
TFunction< FIndex3i(int32)> GetTriangle
Definition MeshAdapter.h:32
TFunction< bool(int32 index)> IsVertex
Definition MeshAdapter.h:26
TFunction< int32()> MaxVertexID
Definition MeshAdapter.h:28
TFunction< int32()> MaxTriangleID
Definition MeshAdapter.h:27
TFunction< bool(int32 index)> IsTriangle
Definition MeshAdapter.h:25
TFunction< uint64()> GetChangeStamp
Definition MeshAdapter.h:31
TFunction< int32()> VertexCount
Definition MeshAdapter.h:30
TFunction< TVector< double >(int32)> GetVertex
Definition MeshAdapter.h:33
TFunction< int32()> TriangleCount
Definition MeshAdapter.h:29
static TVector< double > One()
Definition Vector.h:115
T Z
Definition Vector.h:68
T Y
Definition Vector.h:65
T X
Definition Vector.h:62