载入中...
搜索中...
未找到
UiTween.h 文件参考

Lightweight UI-owned tween driver for host/item visual properties. 更多...

#include "common/Export.h"
#include "common/Result.h"
#include "ui/UIHost.h"
#include <cstdint>
#include <string>
#include <vector>

浏览源代码.

类

struct  eve::ui::UiHostTween
 One host-level tween slot. 更多...
 
struct  eve::ui::UiItemTween
 One item-level tween slot scoped to a host + node id. 更多...
 
class  eve::ui::UiTweenDriver
 Owns pending UI tweens and advances them against an injected clock. @ownership UI owns one driver; handles are generation-checked via UIHost::resolve. 更多...
 

命名空间

namespace  eve
 Build metadata (engine git commit, build time, third-party version).
 
namespace  eve::ui
 

枚举

enum class  eve::ui::UiHostTweenTarget : std::uint8_t { eve::ui::Pos = 0 , eve::ui::Size = 1 , eve::ui::OverlayAlpha = 2 }
 Host window property driven by a vec2 or float tween. 更多...
 
enum class  eve::ui::UiItemTweenTarget : std::uint8_t { eve::ui::Opacity = 0 , eve::ui::Pos = 1 }
 Retained-node property driven by a float or vec2 tween. 更多...
 

函数

float eve::ui::evaluateUiEase (float t, const char *kind)
 Evaluate a UI tween ease curve in [0,1].
 
double eve::ui::uiTweenWallClockMs ()
 Wall-clock milliseconds from steady_clock (presentation clock).
 

详细描述

Lightweight UI-owned tween driver for host/item visual properties.

Convenience APIs (UI::animate*) auto-pump from beginFrameAndRender. This is intentionally separate from animation::Motion* (which requires an Animation module pump and typed sinks); both can coexist.

在文件 UiTween.h 中定义.