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

UI-owned Motion push binders (optional animation bridge). 更多...

#include "common/Export.h"
#include "animation/MotionTypes.h"
#include "ui/UIHost.h"
#include <string>

浏览源代码.

类

class  eve::ui::UiHostPosSink
 Pushes MotionVec2 samples into a host window position (Meta.posX/Y). @ownership Does not own the host; resolves host on every write. 更多...
 
class  eve::ui::UiHostSizeSink
 Pushes MotionVec2 samples into a host explicit size (Meta.sizeX/Y). @ownership Does not own the host; resolves host on every write. 更多...
 
class  eve::ui::UiHostOverlayAlphaSink
 Pushes float samples into a host overlay background alpha. @ownership Does not own the host; resolves host on every write. 更多...
 
class  eve::ui::UiNodeOpacitySink
 Pushes float samples into a retained node's transient opacity. @ownership Does not own the host/node; resolves both on every write. 更多...
 
class  eve::ui::UiNodePosSink
 Pushes MotionVec2 samples into a node's absolute placement offset. @ownership Does not own the host/node; resolves both on every write. 更多...
 

命名空间

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

详细描述

UI-owned Motion push binders (optional animation bridge).

These sinks live in ui so animation never #includes UI. The matching .cpp is compiled only when the animation module is enabled (OPTIONAL_DEPS animation + EVENGINE_EXCLUDED_MODULE_FILES).

Keep each sink alive while the bound Motion is active; writes resolve the host handle every sample and return StaleHandle / NotFound when the target is gone.

在文件 UiMotionSinks.h 中定义.