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::LayerProperties Class Reference

#include <EditorLayerComponent.h>

Public Types

enum class  SaveFormat { Xml , Binary }
 

Public Member Functions

 AZ_CLASS_ALLOCATOR (LayerProperties, AZ::SystemAllocator)
 
 AZ_TYPE_INFO (LayerProperties, "{FA61BD6E-769D-4856-BFB5-B535E0FC57B4}")
 
void Clear ()
 

Static Public Member Functions

static void Reflect (AZ::ReflectContext *context)
 

Public Attributes

AZ::Color m_color = AZ::Color::CreateOne()
 
bool m_saveAsBinary = false
 
bool m_isLayerVisible = true
 

Detailed Description

Properties on this class will save to the layer file. Properties on the component will save to the level. Tend toward saving properties here to minimize how often users need to interact with the level file.


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