FPrimitiveComponentTarget::GetMaterial

Get pointer to a Material provided by this Source

Windows
MacOS
Linux

References

Module

InteractiveToolsFramework

Header

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

Include

#include "ComponentSourceInterfaces.h"

Source

/Engine/Source/Runtime/Experimental/InteractiveToolsFramework/Private/ComponentSourceInterfaces.cpp

Syntax

UMaterialInterface * GetMaterial
(
    int32 MaterialIndex
) const

Remarks

Get pointer to a Material provided by this Source

Returns

MaterialInterface pointer, or null if MaterialIndex is invalid

Parameters

Parameter

Description

MaterialIndex

index of the 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