Choose your operating system:
Windows
macOS
Linux
| UObjectBase
|
Module |
|
Header |
/Engine/Plugins/Runtime/MassGameplay/Source/MassRepresentation/Public/MassRepresentationSubsystem.h |
Include |
#include "MassRepresentationSubsystem.h" |
UCLASS()
class UMassRepresentationSubsystem : public UWorldSubsystem
Subsystem responsible for all visual of mass agents, will handle actors spawning and static mesh instances
Name | Description | ||
---|---|---|---|
|
ActorSpawnerSubsystem |
||
|
EntitySubsystem |
||
|
HandledMassAgents |
Keeping track of all the mass agent this subsystem is responsible for spawning actors |
|
|
float |
RetryMovedDistanceSq |
The time to wait before retrying a to spawn actor that failed |
|
float |
RetryTimeInterval |
The distance a failed spawned actor needs to move before we retry |
|
TemplateActors |
The array of all the template actors |
|
|
TemplateActorsMTAccessDetector |
||
|
VisualizationComponent |
The component that handles all the static mesh instances |
|
|
Visualizer |
The actor owning the above visualization component |
|
|
WorldPartitionSubsystem |
Name | Description | ||
---|---|---|---|
|
CancelSpawning ( |
Cancel spawning request that is matching the TemplateActorIndex |
|
|
CancelSpawningInternal ( |
||
|
DirtyStaticMeshInstances() |
Mark render state of the static mesh instances dirty |
|
|
DoesActorMatchTemplate |
Compare if an actor matches the registered template actor |
|
|
FindOrAddStaticMeshDesc ( |
Get the index of the static mesh visual type, will add a new one if does not exist |
|
|
FindOrAddTemplateActor ( |
Store the template actor uniquely and return an index to it |
|
|
FMassInstanc... |
GetMutableInstancedStaticMeshInfos() |
|
|
AActor * |
GetOrSpawnActorFromTemplate ( |
Get or spawn an actor from the TemplateActorIndex |
|
TSubclassOf<... |
GetTemplateActorClass ( |
|
|
IsCollisionLoaded ( |
||
|
OnMassAgentComponentEntityAssociated ( |
||
|
OnMassAgentComponentEntityDetaching ( |
||
|
OnProcessingPhaseStarted ( |
Needed for batching the update of static mesh transform |
|
|
ReleaseAllResources() |
Release all references to static meshes and template actors Use with caution, all entities using this representation subsystem must be destroy otherwise they will point to invalid resources |
|
|
ReleaseTemplateActor ( |
Release an actor that is matching the TemplateActorIndex |
|
|
ReleaseTemplateActorInternal |
||
|
ReleaseTemplateActorOrCancelSpawning ( |
Release an actor or cancel its spawning if it is matching the TemplateActorIndex |
Name | Description | ||
---|---|---|---|
|
Deinitialize() |
Implement this for deinitialization of instances of the system |
|
|
Initialize ( |
USubsystem BEGIN. |