FMaterialParameterCache

Struct containing information about a given parameter name

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Components/MeshComponent.h

Include

#include "Components/MeshComponent.h"

Syntax

struct FMaterialParameterCache

Remarks

Struct containing information about a given parameter name

Variables

Name Description

Public variable

float

 

ScalarParameterDefaultValue

Material default parameter for the scalar parameter We only cache the last one as we can't trace back from [name, index] This data is used for animation system to set default back to it

Public variable

TArray< int32 >

 

ScalarParameterMaterialIndices

Material indices for the retrieved scalar material parameter names

Public variable

TArray< int32 >

 

VectorParameterMaterialIndices

Material indices for the retrieved vector material parameter names