Module |
|
Header |
/Engine/Source/Runtime/Datasmith/DatasmithCore/Public/DatasmithMesh.h |
Include |
#include "DatasmithMesh.h" |
class FDatasmithMesh
Copyright Epic Games, Inc. All Rights Reserved.
Name | Description | |
---|---|---|
|
FDatasmithMesh() |
|
|
FDatasmithMesh ( |
|
|
FDatasmithMesh ( |
Name | Description | |
---|---|---|
|
~FDatasmithMesh() |
Name | Description | ||
---|---|---|---|
|
void |
AddLOD ( |
LODs. |
|
void |
AddLOD ( |
LODs. |
|
void |
AddUVChannel() |
Add a UV channel at the end |
|
CalculateHash() |
Calculate mesh data hash(doesn't include name) |
|
|
float |
ComputeArea() |
Misc. |
|
FBox3f |
GetExtents() |
Returns the bounding box containing all vertices of this mesh |
|
void |
GetFace ( |
|
|
int32 |
GetFacesCount() |
Retrieves the amount of faces |
|
uint32 |
GetFaceSmoothingMask ( |
Gets the smoothing mask of a face |
|
void |
GetFaceUV ( |
Gets the UV coordinates of the vertices of a face |
|
uint32 |
GetHashForUVChannel ( |
Get the hash for a uv channel |
|
int32 |
GetLightmapSourceUVChannel() |
Gets the UV channel that will be used for lightmap UVs generation at import |
|
const FDatas... |
GetLOD ( |
Gets the FDatasmithMesh LOD at the given index, if the index is invalid returns nullptr |
|
FDatasmithMe... |
GetLOD ( |
Gets the FDatasmithMesh LOD at the given index, if the index is invalid returns nullptr |
|
int32 |
GetLODsCount() |
|
|
int32 |
GetMaterialsCount() |
|
|
const TCHAR ... |
GetName() |
|
|
FVector3f |
GetNormal ( |
|
|
FVector2D |
GetUV ( |
Gets the UV coordinates for a channel |
|
int32 |
GetUVChannelsCount() |
Gets the amount of UV channels on this mesh |
|
int32 |
GetUVCount ( |
Retrieves the amount of UV coordinates on the channel. |
|
FVector3f |
GetVertex ( |
|
|
GetVertexColor ( |
Get the color for a vertex |
|
|
int32 |
GetVertexColorCount() |
Get the number of vertex color |
|
int32 |
GetVerticesCount() |
Retrieves the amount of geometric vertices. The validity of the vertex data is not guaranteed |
|
bool |
IsMaterialIdUsed ( |
|
|
void |
RemoveUVChannel() |
Remove the last UV channel |
|
void |
SetFace ( |
Sets the geometry of the face |
|
void |
SetFacesCount ( |
Faces. |
|
void |
SetFaceSmoothingMask ( |
Sets the smoothing mask of the face |
|
void |
SetFaceUV ( |
Sets the channel UV coordinates of the face |
|
void |
SetLightmapSourceUVChannel ( |
Sets the UV channel that will be used as the source UVs for lightmap UVs generation at import, defaults to channel 0. |
|
void |
SetName ( |
|
|
void |
SetNormal ( |
Normals. |
|
void |
SetUV ( |
Sets the 2d position of the UV vertex for the first uv mapping |
|
void |
SetUVChannelsCount ( |
UVs. |
|
void |
SetUVCount ( |
Setting the amount of UV coordinates on the channel is mandatory before filling the array |
|
void |
SetVertex ( |
Sets the 3d position of the vertex |
|
void |
SetVertexColor ( |
Set a vertex color |
|
void |
SetVerticesCount ( |
Vertices. |
Name | Description | ||
---|---|---|---|
|
FDatasmithMe... |
operator= ( |
|
|
FDatasmithMe... |
operator= ( |
Name |
Description |
|
---|---|---|
|
FDatasmithMeshImpl |