PAPER2UPaperSprite::GetMaterial

Returns either the default material (index 0) or alternate material (index 1)

Choose your operating system:

Windows

macOS

Linux

References

Module

Paper2D

Header

/Engine/Plugins/2D/Paper2D/Source/Paper2D/Classes/PaperSprite.h

Include

#include "PaperSprite.h"

Syntax

UMaterialInterface * GetMaterial
(
    int32 MaterialIndex
) const

Remarks

Returns either the default material (index 0) or alternate material (index 1)