UMaterial::GetParameterSortPriority

Get the sort priority index of the given parameter

Windows
MacOS
Linux

Override Hierarchy

UMaterialInterface::GetParameterSortPriority()

UMaterial::GetParameterSortPriority()

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Materials/Material.h

Include

#include "Materials/Material.h"

Source

/Engine/Source/Runtime/Engine/Private/Materials/Material.cpp

Syntax

virtual bool GetParameterSortPriority
(
    const FHashedMaterialParameterInfo & ParameterInfo,
    int32 & OutSortPriority,
    const TArray< struct FStaticMaterialLayersParameter > * MaterialLayersParameters
) const

Remarks

Get the sort priority index of the given parameter

Returns

True if successful

Parameters

Parameter

Description

ParameterName

The name of the parameter

OutSortPriority

Will contain the sort priority of the parameter if successful

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss