PAPER2UPaperGroupedSpriteComponent::GetMaterial

Returns the material used by the element at the specified index

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

UPrimitiveComponent::GetMaterial()

UMeshComponent::GetMaterial()

PAPER2UPaperGroupedSpriteComponent::GetMaterial()

References

Module

Paper2D

Header

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

Include

#include "PaperGroupedSpriteComponent.h"

Syntax

virtual UMaterialInterface * GetMaterial
(
    int32 ElementIndex
) const

Remarks

Returns the material used by the element at the specified index

Returns

the material used by the indexed element of this mesh.

Parameters

Parameter

Description

ElementIndex

The element to access the material of.