UMassRepresentationSubsystem::FindOrAddTemplateActor

Store the template actor uniquely and return an index to it

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

int16 FindOrAddTemplateActor
(
    const TSubclassOf< AActor > & ActorClass
)

Remarks

Store the template actor uniquely and return an index to it

Returns

The index of the template actor type

Parameters

Parameter

Description

ActorClass

is a template actor class we will need to spawn for an agent