#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 UiCanvasFileObject * | LoadCanvasFromStream (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 |
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