IMaterialEditorModule::GetVisibleMaterialParameters

Retrieves all visible parameters within the material.

Unreal Engine C++ API Reference > Editor > MaterialEditor > IMaterialEditorModule

References

   
Module MaterialEditor
Header /Engine/Source/Editor/MaterialEditor/Public/MaterialEditorModule.h
Include #include "MaterialEditorModule.h"
void GetVisibleMaterialParameters
(
    const class [UMaterial](API\Runtime\Engine\Materials\UMaterial) * Material,
    class [UMaterialInstance](API\Runtime\Engine\Materials\UMaterialInstance) * MaterialInstance,
    [TArray](API\Runtime\Core\Containers\TArray)< [FMaterialParameterInfo](API\Runtime\Engine\FMaterialParameterInfo) > & VisibleExpressions
)

Remarks

Retrieves all visible parameters within the material.

Parameters

Name Description
Material The material to retrieve the parameters from.
MaterialInstance The material instance that contains all parameter overrides.
VisibleExpressions The array that will contain the name's of the visible parameter expressions.

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library