UMaterial::GetMaterial

Get the material which we are instancing.

Windows
MacOS
Linux

Override Hierarchy

UMaterialInterface::GetMaterial()

UMaterial::GetMaterial()

References

Module

Engine

Header

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

Include

#include "Materials/Material.h"

Source

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

Syntax

virtual UMaterial * GetMaterial()

Remarks

Get the material which we are instancing. Walks up parent chain and finds the base Material that this is an instance of.

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