FEditorPromotionTestUtilities::CreateMaterialFromTexture

Creates a material from an existing texture

Windows
MacOS
Linux

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Public/Tests/AutomationEditorPromotionCommon.h

Include

#include "Tests/AutomationEditorPromotionCommon.h"

Source

/Engine/Source/Editor/UnrealEd/Private/Tests/AutomationEditorPromotionCommon.cpp

Syntax

static UMaterial * CreateMaterialFromTexture
(
    UTexture * InTexture
)

Remarks

Creates a material from an existing texture

Parameters

Parameter

Description

InTexture

The texture to use as the diffuse for the new material

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