UMeshComponent::SetScalarParameterValueOnMaterials

Material parameter setting and caching Set all occurrences of Scalar Material Parameters with ParameterName in the set of materials of the SkeletalMesh to ParameterValue

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

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

Include

#include "Components/MeshComponent.h"

Source

/Engine/Source/Runtime/Engine/Private/Components/MeshComponent.cpp

Syntax

void SetScalarParameterValueOnMaterials
(
    const FName ParameterName,
    const float ParameterValue
)

Remarks

Material parameter setting and caching Set all occurrences of Scalar Material Parameters with ParameterName in the set of materials of the SkeletalMesh to ParameterValue