Classes

Assets/UI

Brief descriptions

Detailed information

assets::UiSceneAssetTag

engine/core/modules/assets/include/nau/assets/asset_ref.h

struct UiSceneAssetTag

Temporary ui scene asset tags.


UiElementAssetCustomData

engine/core/modules/assets/include/nau/assets/ui_asset_accessor.h

struct UiElementAssetCustomData

Subclassed by nau::DrawNodeAssetData, nau::NauButtonAssetData, nau::NauLabelAssetData, nau::ScrollAssetData, nau::SpriteAssetData

Public Functions

virtual ~UiElementAssetCustomData()

NauLabelAssetData

engine/core/modules/assets/include/nau/assets/ui_asset_accessor.h

struct NauLabelAssetData : public nau::UiElementAssetCustomData

Public Members

eastl::string text
eastl::string fontRef
int horizontalAlignment = 0
int verticalAlignment = 0
int overflow = 0
int wrapping = 0

NauButtonStateAssetData

engine/core/modules/assets/include/nau/assets/ui_asset_accessor.h

struct NauButtonStateAssetData

Public Members

eastl::string imageFileName
math::Color4 color
float scale = 1.f
AnimationAssetRef animationAsset

NauButtonAssetData

engine/core/modules/assets/include/nau/assets/ui_asset_accessor.h

struct NauButtonAssetData : public nau::UiElementAssetCustomData

Public Members

NauButtonStateAssetData normalStateData
NauButtonStateAssetData hoveredStateData
NauButtonStateAssetData pressedStateData
NauButtonStateAssetData disabledStateData

SpriteAssetData

engine/core/modules/assets/include/nau/assets/ui_asset_accessor.h

struct SpriteAssetData : public nau::UiElementAssetCustomData

Public Members

eastl::string fileName

DrawNodeDrawPolygon

engine/core/modules/assets/include/nau/assets/ui_asset_accessor.h

struct DrawNodeDrawPolygon

Public Members

math::vec2 points[4]
math::Color4 fillColor
math::Color4 borderColor
float borderWidth

ScrollAssetData

engine/core/modules/assets/include/nau/assets/ui_asset_accessor.h

struct ScrollAssetData : public nau::UiElementAssetCustomData

Public Members

eastl::string scrollType

DrawNodeAssetData

engine/core/modules/assets/include/nau/assets/ui_asset_accessor.h

struct DrawNodeAssetData : public nau::UiElementAssetCustomData

Public Members

DrawNodeDrawPolygon drawPolygon

UiElementAssetData

engine/core/modules/assets/include/nau/assets/ui_asset_accessor.h

struct UiElementAssetData

Public Members

UiElementType elementType
eastl::string name
math::vec2 translation
float rotation
math::vec2 scale
int zOrder
bool visible
math::vec2 anchorPoint
math::vec2 contentSize
math::vec2 scew
math::vec2 rotationSkew
math::E3DCOLOR color
bool cascadeColorEnabled
bool cascadeOpacityEnabled
bool enableDebugDraw
eastl::shared_ptr<UiElementAssetCustomData> customData
eastl::vector<UiElementAssetData> children

IUiAssetAccessor

engine/core/modules/assets/include/nau/assets/ui_asset_accessor.h

struct IUiAssetAccessor : public nau::IAssetAccessor

Public Functions

virtual IAssetAccessor async::Task copyUiElements (eastl::vector< UiElementAssetData > &elements)=0