UMaterialParameterCollection::GetParameterIndex

Gets a vector and component index for the given parameter, used when compiling materials, to know where to access a certain parameter.

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "Materials/MaterialParameterCollection.h"

Source

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

Syntax

void GetParameterIndex
(
    const FGuid & Id,
    int32 & OutIndex,
    int32 & OutComponentIndex
) const

Remarks

Gets a vector and component index for the given parameter, used when compiling materials, to know where to access a certain parameter.

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