FMeshRenderer

Class used as an interface for baking materials to textures using mesh/vertex-data

Unreal Engine C++ API Reference > Developer > MaterialUtilities

References

   
Module MaterialUtilities
Header /Engine/Source/Developer/MaterialUtilities/Public/MeshRendering.h
Include #include "MeshRendering.h"

Syntax

class FMeshRenderer  

Remarks

Class used as an interface for baking materials to textures using mesh/vertex-data

Constructors

No constructors are accessible with public or protected access.

Functions

Type Name Description
bool RenderMaterial ( FMaterialMergeData& InMaterialData, FMaterialRenderProxy* InMateri..., EMaterialProperty InMaterialPropert..., UTextureRenderTarget2D* InRend..., TArray< FColor >& OutBMP ) Renders out textures for each material property for the given material, using the given mesh data or by using a simple tile rendering approach
bool RenderMaterialTexCoordScales ( FMaterialMergeData& InMaterialData, FMaterialRenderProxy* InMateri..., UTextureRenderTarget2D* InRend..., TArray< FFloat16Color >& OutScales ) Renders out texcoord scales

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library