Module |
|
Header |
/Engine/Source/Developer/MaterialBaking/Public/MaterialBakingStructures.h |
Include |
#include "MaterialBakingStructures.h" |
struct FMeshData
Name | Description | ||
---|---|---|---|
|
bMirrored |
Transform determinant used to detect mirroring |
|
|
CustomTextureCoordinates |
Set of custom texture coordinates which ensure that the material is baked out with unique/non-overlapping positions |
|
|
LightMap |
Reference to the lightmap texture part of the level in the currently being baked out mesh instance data is resident |
|
|
LightMapIndex |
Light map index used to retrieve the light-map UVs from RawMesh |
|
|
const FLightmap... |
LightmapResourceCluster |
Pointer to the LightmapResourceCluster to be passed on the the LightCacheInterface when baking |
|
MaterialIndices |
Material indices to test the Raw Mesh data against, ensuring we only bake out triangles which use the currently baked out material |
|
|
UStaticMesh ... |
Mesh |
Ptr to original static mesh this mesh data came from |
|
RawMeshDescription |
Ptr to raw mesh data to use for baking out the material data, if nullptr a standard quad is used |
|
|
TextureCoordinateBox |
Box which's space contains the UV coordinates used to bake out the material |
|
|
TextureCoordinateIndex |
Specific texture coordinate index to use as texture coordinates to bake out the material (is overruled if CustomTextureCoordinates contains any data) |
|
|
VertexColorHash |
A hash of the vertex color buffer for the rawmesh |
Name | Description | |
---|---|---|
|
FMeshData() |