18 void SetName(
const TCHAR* InName);
19 const TCHAR* GetName()
const;
25 void SetFacesCount(int32 NumFaces);
28 int32 GetFacesCount()
const;
38 void SetFace(int32 Index, int32 Vertex1, int32 Vertex2, int32 Vertex3, int32 MaterialId = 0);
39 void GetFace(int32 Index, int32& Vertex1, int32& Vertex2, int32& Vertex3, int32& MaterialId)
const;
47 void SetFaceSmoothingMask(int32 Index, uint32 SmoothingMask);
54 uint32 GetFaceSmoothingMask(int32 Index)
const;
56 int32 GetMaterialsCount()
const;
57 bool IsMaterialIdUsed(int32 MaterialId)
const;
63 void SetVerticesCount(int32 NumVerts);
66 int32 GetVerticesCount()
const;
76 void SetVertex(int32 Index,
float X,
float Y,
float Z);
77 FVector GetVertex(int32 Index)
const;
90 void SetNormal(int32 Index,
float X,
float Y,
float Z);
91 FVector GetNormal(int32 Index)
const;
101 void SetUVChannelsCount(int32 ChannelCount);
111 void RemoveUVChannel();
114 int32 GetUVChannelsCount()
const;
122 void SetUVCount(int32 Channel, int32 NumVerts);
125 int32 GetUVCount(int32 Channel)
const;
134 void SetUV(int32 Channel, int32 Index,
double U,
double V);
139 uint32 GetHashForUVChannel(int32 Channel)
const;
147 FVector2D GetUV(int32 Channel, int32 Index)
const;
158 void SetFaceUV(int32 Index, int32 Channel, int32 Vertex1, int32 Vertex2, int32 Vertex3);
169 void GetFaceUV(int32 Index, int32 Channel, int32& Vertex1, int32& Vertex2, int32& Vertex3)
const;
172 int32 GetVertexColorCount()
const;
180 void SetVertexColor(int32 Index,
const FColor& Color);
187 FColor GetVertexColor(int32 Index)
const;
193 void SetLightmapSourceUVChannel(int32 Channel);
196 int32 GetLightmapSourceUVChannel()
const;
205 int32 GetLODsCount()
const;
213 float ComputeArea()
const;
216 FBox GetExtents()
const;
219 class FDatasmithMeshImpl;
220 FDatasmithMeshImpl* Impl;