/Engine/Source/Developer/MaterialBaking/Public/MaterialBakingStructures.h
Struct that defines a mesh (Mesh + LOD + MaterialIndex)
struct FMeshData
bool
bMirrored
Transform determinant used to detect mirroring
TArray< FVector...
CustomTextureCoordinates
Set of custom texture coordinates which ensure that the material is baked out with unique/non-overlapping positions
FLightMapRef
LightMap
Reference to the lightmap texture part of the level in the currently being baked out mesh instance data is resident
int32
LightMapIndex
Light map index used to retrieve the light-map UVs from RawMesh
constFLightmap...
LightmapResourceCluster
Pointer to the LightmapResourceCluster to be passed on the the LightCacheInterface when baking
int
LOD
Specific LOD of the mesh.
int
MaterialIndex
Specific index of the mesh material (MaterialIndex is an alias of Section).
TArray< int32 >
MaterialIndices
Material indices to test the Raw Mesh data against, ensuring we only bake out triangles which use the currently baked out material
constUStaticMe...
Mesh
Ptr to original static mesh this mesh data came from
constUObject&...
Mesh
Mesh which it may contain multiple LODs and Materials.
constFMeshDesc...
MeshDescription
Ptr to raw mesh data to use for baking out the material data, if nullptr a standard quad is used
constUCustomiz...
Node
Node where the mesh is defined.
constFPrimitiv...
PrimitiveData
Pointer to primitive data that is accessible through material expressions, if nullptr default values are used
FBox2D
TextureCoordinateBox
Box which's space contains the UV coordinates used to bake out the material
int32
TextureCoordinateIndex
Specific texture coordinate index to use as texture coordinates to bake out the material (is overruled if CustomTextureCoordinates contains any data)
uint32
VertexColorHash
A hash of the vertex color buffer for the rawmesh