IMaterialEditorModule::CreateMaterialEditor

Creates a new material editor, either for a material or a material function

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

References

   
Module MaterialEditor
Header /Engine/Source/Editor/MaterialEditor/Public/MaterialEditorModule.h
Include #include "MaterialEditorModule.h"
[TSharedRef](API\Runtime\Core\Templates\TSharedRef)< [IMaterialEditor](API\Editor\MaterialEditor\IMaterialEditor) > CreateMaterialEditor
(
    const [EToolkitMode::Type](API\Editor\EditorFramework\Toolkits\EToolkitMode__Type) Mode,
    const [TSharedPtr](API\Runtime\Core\Templates\TSharedPtr)< [IToolkitHost](API\Editor\EditorFramework\Toolkits\IToolkitHost) > & InitToolkitHost,
    [UMaterial](API\Runtime\Engine\Materials\UMaterial) * Material
)

Remarks

Creates a new material editor, either for a material or a material function


Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library