IToolsContextQueriesAPI::GetStandardMaterial

Many tools need standard types of materials that the user should provide (eg a vertex-color material, etc)

Windows
MacOS
Linux

References

Module

InteractiveToolsFramework

Header

/Engine/Source/Runtime/Experimental/InteractiveToolsFramework/Public/ToolContextInterfaces.h

Include

#include "ToolContextInterfaces.h"

Syntax

UMaterialInterface * GetStandardMaterial
(
    EStandardToolContextMaterials MaterialType
) const

Remarks

Many tools need standard types of materials that the user should provide (eg a vertex-color material, etc)

Returns

Instance of material to use for this purpose

Parameters

Parameter

Description

MaterialType

the type of material being requested

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