FMeshData

Windows
MacOS
Linux

References

Module

MaterialBaking

Header

/Engine/Source/Developer/MaterialBaking/Public/MaterialBakingStructures.h

Include

#include "MaterialBakingStructures.h"

Syntax

struct FMeshData

Variables

Name Description

Public variable

bool

 

bMirrored

Transform determinant used to detect mirroring

Public variable

TArray< FVector...

 

CustomTextureCoordinates

Set of custom texture coordinates which ensure that the material is baked out with unique/non-overlapping positions

Public variable

FLightMapRef

 

LightMap

Reference to the lightmap texture part of the level in the currently being baked out mesh instance data is resident

Public variable

int32

 

LightMapIndex

Light map index used to retrieve the light-map UVs from RawMesh

Public variable

const FLightmap...

 

LightmapResourceCluster

Pointer to the LightmapResourceCluster to be passed on the the LightCacheInterface when baking

Public variable

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

Public variable

UStaticMesh ...

 

Mesh

Ptr to original static mesh this mesh data came from

Public variable

FMeshDescriptio...

 

RawMeshDescription

Ptr to raw mesh data to use for baking out the material data, if nullptr a standard quad is used

Public variable

FBox2D

 

TextureCoordinateBox

Box which's space contains the UV coordinates used to bake out the material

Public variable

int32

 

TextureCoordinateIndex

Specific texture coordinate index to use as texture coordinates to bake out the material (is overruled if CustomTextureCoordinates contains any data)

Public variable

uint32

 

VertexColorHash

A hash of the vertex color buffer for the rawmesh

Constructors

Name Description

Public function

FMeshData()

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss