Open 3D Engine AzToolsFramework API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AzToolsFramework::Layers::EditorLayerInfoRequests Class Referenceabstract

#include <EditorLayerComponentBus.h>

Inherits AZ::EBusTraits.

Public Member Functions

virtual void GatherLayerEntitiesWithName (const AZStd::string &layerName, AZStd::unordered_set< AZ::EntityId > &layerEntities)=0
 

Static Public Attributes

static const AZ::EBusHandlerPolicy HandlerPolicy = AZ::EBusHandlerPolicy::Multiple
 
static const AZ::EBusAddressPolicy AddressPolicy = AZ::EBusAddressPolicy::Single
 

Detailed Description

This bus is a single bus with multiple listeners. All layers listen in on this bus, it's used for checking for layers that share the same file name.

Member Function Documentation

◆ GatherLayerEntitiesWithName()

virtual void AzToolsFramework::Layers::EditorLayerInfoRequests::GatherLayerEntitiesWithName ( const AZStd::string &  layerName,
AZStd::unordered_set< AZ::EntityId > &  layerEntities 
)
pure virtual

Gathers all layers that have the given layer filename. Used to find duplicate layers.

Parameters
layerNameThe name of the layer to search for.
layerEntitiesAn output parameter containing all layers that have the same name.

The documentation for this class was generated from the following file: