Navigation
API > API/Plugins > API/Plugins/DynamicMesh
A mesh evaluator for sampling multiple 2D textures by material ID
| Name | FMeshMultiResampleImageEvaluator |
| Type | class |
| Header File | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Public/Sampling/MeshResampleImageEvaluator.h |
| Include Path | #include "Sampling/MeshResampleImageEvaluator.h" |
Syntax
class FMeshMultiResampleImageEvaluator : public UE::Geometry::FMeshResampleImageEvaluator
Inheritance Hierarchy
- FMeshMapEvaluator → FMeshResampleImageEvaluator → FMeshMultiResampleImageEvaluator
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| DetailUVLayer | int | The UV channel used to sample the textures. | Sampling/MeshResampleImageEvaluator.h | |
| MultiTextures | TArray< TSharedPtr< UE::Geometry::TImageBuilder< FVector4f >, ESPMode::ThreadSafe > > | List of textures indexed by material ID. Entries can be null. | Sampling/MeshResampleImageEvaluator.h |
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| NumMultiTextures | int | Cached data. | Sampling/MeshResampleImageEvaluator.h |
Functions
Public
Overridden from FMeshMapEvaluator
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Setup
(
const FMeshBaseBaker& Baker, |
Invoked at start of bake to setup this evaluator and return an evaluation context to the baker. | Sampling/MeshResampleImageEvaluator.h | |
virtual EMeshMapEvaluatorType Type() |
Sampling/MeshResampleImageEvaluator.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void EvaluateSampleMulti
(
float*& Out, |
Sampling/MeshResampleImageEvaluator.h |