Skip to content
Orbdale

Orbdale Terrain · OrbdaleTerrainEditor module · member function

UOrbdaleTerrainMaterialLibrary::

WrapMaterialAs

Editor onlyBlueprint

The wrapper of Parent at an exact package name, made and saved if missing, re-parented if it wraps another material.

Declaration

UFUNCTION(BlueprintCallable, Category="Orbdale|Terrain|Materials")
static UMaterialInstanceConstant* WrapMaterialAs(UMaterialInterface* Parent, const FString& PackageName);
Blueprint Wrap Material As
The graph as text
  1. Wrap Material As (function call)
    • In Parent (MaterialInterface object): None
    • In Package Name (String): empty
    • Out Return Value (MaterialInstanceConstant object): not connected
Header
#include "OrbdaleTerrainMaterialLibrary.h"
Module
PublicDependencyModuleNames.Add("OrbdaleTerrainEditor"); in an editor module’s Build.cs: an editor module, not in packaged games.
Stability
Stable: changes within a major version only add.
Thread
Editor, game thread. (the rule of UOrbdaleTerrainMaterialLibrary)
Blueprint
Wrap Material As, in Orbdale › Terrain › Materials

Description

For content with its own naming, such as the plugin's MI_TerrainDefault_W.

Parameters

NameTypeDefaultMeaning
ParentUMaterialInterface*—

Any surface material or instance.

PackageNameconst FString&—

Long package name of the wrapper.