Navigation
API > API/Developer > API/Developer/DatasmithFacade
| Name | FDatasmithFacadeMesh |
| Type | class |
| Header File | /Engine/Source/Developer/Datasmith/DatasmithFacade/Public/DatasmithFacadeMesh.h |
| Include Path | #include "DatasmithFacadeMesh.h" |
Syntax
class FDatasmithFacadeMesh
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FDatasmithFacadeMesh
(
const TSharedRef< FDatasmithMesh >& InRootOwnerMesh, |
DatasmithFacadeMesh.h | ||
| DatasmithFacadeMesh.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| InternalMesh | FDatasmithMesh & | DatasmithFacadeMesh.h | ||
| RootOwnerMesh | TSharedRef< FDatasmithMesh > | DatasmithFacadeMesh.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddLOD
(
const FDatasmithFacadeMesh& InLODMesh |
LODs. | DatasmithFacadeMesh.h | |
void AddUVChannel() |
Add a UV channel at the end | DatasmithFacadeMesh.h | |
void CalculateHash
(
TCHAR OutBuffer, |
Return a MD5 hash of the content of the Datasmith Mesh | DatasmithFacadeMesh.h | |
float ComputeArea () |
Misc. | DatasmithFacadeMesh.h | |
| DatasmithFacadeMesh.h | |||
const FDatasmithMesh & GetDatasmithMesh () |
DatasmithFacadeMesh.h | ||
void GetFace
(
int32 Index, |
DatasmithFacadeMesh.h | ||
int32 GetFacesCount() |
Retrieves the amount of faces | DatasmithFacadeMesh.h | |
uint32 GetFaceSmoothingMask
(
int32 Index |
Gets the smoothing mask of a face | DatasmithFacadeMesh.h | |
void GetFaceUV
(
int32 Index, |
Gets the UV coordinates of the vertices of a face | DatasmithFacadeMesh.h | |
uint32 GetHashForUVChannel
(
int32 Channel |
Get the hash for a uv channel | DatasmithFacadeMesh.h | |
int32 GetLightmapSourceUVChannel() |
Gets the UV channel that will be used for lightmap UVs generation at import | DatasmithFacadeMesh.h | |
int32 GetLODsCount() |
DatasmithFacadeMesh.h | ||
int32 GetMaterialsCount() |
DatasmithFacadeMesh.h | ||
const TCHAR * GetName() |
DatasmithFacadeMesh.h | ||
FDatasmithFacadeMesh * GetNewLOD
(
int32 Index |
DatasmithFacadeMesh.h | ||
void GetNormal
(
int32 Index, |
DatasmithFacadeMesh.h | ||
void GetUV
(
int32 Channel, |
Gets the UV coordinates for a channel | DatasmithFacadeMesh.h | |
int32 GetUVChannelsCount() |
Gets the amount of UV channels on this mesh | DatasmithFacadeMesh.h | |
int32 GetUVCount
(
int32 Channel |
Retrieves the amount of UV coordinates on the channel. | DatasmithFacadeMesh.h | |
void GetVertex
(
int32 Index, |
DatasmithFacadeMesh.h | ||
void GetVertexColor
(
int32 Index, |
Get the color for a vertex | DatasmithFacadeMesh.h | |
int32 GetVertexColorCount() |
Get the number of vertex color | DatasmithFacadeMesh.h | |
int32 GetVerticesCount() |
Retrieves the amount of geometric vertices. The validity of the vertex data is not guaranteed | DatasmithFacadeMesh.h | |
bool IsMaterialIdUsed
(
int32 MaterialId |
DatasmithFacadeMesh.h | ||
void RemoveUVChannel() |
Remove the last UV channel | DatasmithFacadeMesh.h | |
void SetFace
(
int32 Index, |
Sets the geometry of the face | DatasmithFacadeMesh.h | |
void SetFacesCount
(
int32 NumFaces |
Faces. | DatasmithFacadeMesh.h | |
void SetFaceSmoothingMask
(
int32 Index, |
Sets the smoothing mask of the face | DatasmithFacadeMesh.h | |
void SetFaceUV
(
int32 Index, |
Sets the channel UV coordinates of the face | DatasmithFacadeMesh.h | |
void SetLightmapSourceUVChannel
(
int32 Channel |
Sets the UV channel that will be used as the source UVs for lightmap UVs generation at import, defaults to channel 0. | DatasmithFacadeMesh.h | |
void SetName
(
const TCHAR* InName |
DatasmithFacadeMesh.h | ||
void SetNormal
(
int32 Index, |
Normals. | DatasmithFacadeMesh.h | |
void SetUV
(
int32 Channel, |
Sets the 2d position of the UV vertex for the first uv mapping | DatasmithFacadeMesh.h | |
void SetUVChannelsCount
(
int32 ChannelCount |
UVs. | DatasmithFacadeMesh.h | |
void SetUVCount
(
int32 Channel, |
Setting the amount of UV coordinates on the channel is mandatory before filling the array | DatasmithFacadeMesh.h | |
void SetVertex
(
int32 Index, |
Sets the 3d position of the vertex | DatasmithFacadeMesh.h | |
void SetVertexColor
(
int32 Index, |
Set a vertex color | DatasmithFacadeMesh.h | |
void SetVerticesCount
(
int32 NumVerts |
Vertices. | DatasmithFacadeMesh.h |