PAPER2UPaperSprite::GetNumMaterials

Returns the number of materials (1 or 2, depending on if there is alternate geometry)

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

int32 GetNumMaterials() const

Remarks

Returns the number of materials (1 or 2, depending on if there is alternate geometry)