UMassRepresentationSubsystem::DoesActorMatchTemplate

Compare if an actor matches the registered template actor

Choose your operating system:

Windows

macOS

Linux

References

Module

MassRepresentation

Header

/Engine/Plugins/Runtime/MassGameplay/Source/MassRepresentation/Public/MassRepresentationSubsystem.h

Include

#include "MassRepresentationSubsystem.h"

Source

/Engine/Plugins/Runtime/MassGameplay/Source/MassRepresentation/Private/MassRepresentationSubsystem.cpp

Syntax

bool DoesActorMatchTemplate
(
    const AActor & Actor,
    const int16 TemplateActorIndex
)

Remarks

Compare if an actor matches the registered template actor

Returns

True if actor matches the template

Parameters

Parameter

Description

Actor

to compare its class against the template

TemplateActorIndex

is the template type of the actor to compare against