Open 3D Engine LyShine Gem 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.
UiCanvasFileObject Class Reference

#include <UiCanvasFileObject.h>

Inherits UiSystemToolsInterface::CanvasAssetHandle.

Public Member Functions

 AZ_CLASS_ALLOCATOR (UiCanvasFileObject, AZ::SystemAllocator)
 
 AZ_RTTI (UiCanvasFileObject, "{1F02632F-F113-49B1-85AD-8CD0FA78B8AA}")
 

Static Public Member Functions

static UiCanvasFileObjectLoadCanvasFromStream (AZ::IO::GenericStream &stream, const AZ::ObjectStream::FilterDescriptor &filterDesc=AZ::ObjectStream::FilterDescriptor())
 
static void SaveCanvasToStream (AZ::IO::GenericStream &stream, UiCanvasFileObject *canvasFileObject)
 
static AZ::Entity * LoadCanvasEntitiesFromStream (AZ::IO::GenericStream &stream, AZ::Entity *&rootSliceEntity)
 
static void Reflect (AZ::ReflectContext *context)
 

Public Attributes

AZ::Entity * m_canvasEntity = nullptr
 
AZ::Entity * m_rootSliceEntity = nullptr
 

Detailed Description

Wrapper class for canvas file. This allows us to make changes to what the top level objects are in the canvas file and do some conversion


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