载入中...
搜索中...
未找到
WorldAnchorProjection.cpp 文件参考
#include "ui/WorldAnchorProjection.h"
#include <glm/geometric.hpp>
#include <glm/vec3.hpp>
#include <glm/vec4.hpp>
#include <algorithm>
#include <cmath>

浏览源代码.

命名空间

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

函数

WorldAnchorProjection eve::ui::projectWorldAnchor (const UIHost::WorldAnchor &anchor, const glm::mat4 &viewProjection, float cameraX, float cameraY, float cameraZ, float viewportWidth, float viewportHeight)
 Projects one world-space UI anchor using a Vulkan RH-ZO view-projection matrix.
 
std::vector< WorldAnchorLayoutResult > eve::ui::resolveWorldAnchorOverlaps (std::vector< WorldAnchorLayoutItem > items, float viewportWidth, float viewportHeight)
 Resolves projected host overlap with bounded deterministic vertical displacement.
 

变量说明

◆ bottom

◆ left

float left

在文件 WorldAnchorProjection.cpp 第 14 行定义.

◆ right

float right

在文件 WorldAnchorProjection.cpp 第 16 行定义.

◆ top

float top

在文件 WorldAnchorProjection.cpp 第 15 行定义.