载入中...
搜索中...
未找到
eve::procgen_editing::MeshVertexAxisGizmoBuilder类 参考

Renderer-neutral runtime vertex-selection axis gizmo adapter. 更多...

#include <MeshVertexAxisGizmo.h>

Public 成员函数

editing::GizmoSnapshot build (const procgen::MeshDeformationSession &session, double axisLength=1.0) const
 Build three pickable axis arrows at the current selection center.
 
Result< std::string > pickAxisResult (const editing::GizmoSnapshot &snapshot, double originX, double originY, double originZ, double directionX, double directionY, double directionZ) const
 Pick x, y, or z arrow using a normalized or non-normalized world ray.
 

详细描述

Renderer-neutral runtime vertex-selection axis gizmo adapter.

在文件 MeshVertexAxisGizmo.h 第 11 行定义.

成员函数说明

◆ build()

editing::GizmoSnapshot eve::procgen_editing::MeshVertexAxisGizmoBuilder::build ( const procgen::MeshDeformationSession &  session,
double  axisLength = 1.0 
) const

◆ pickAxisResult()

Result< std::string > eve::procgen_editing::MeshVertexAxisGizmoBuilder::pickAxisResult ( const editing::GizmoSnapshot &  snapshot,
double  originX,
double  originY,
double  originZ,
double  directionX,
double  directionY,
double  directionZ 
) const

Pick x, y, or z arrow using a normalized or non-normalized world ray.

在文件 MeshVertexAxisGizmo.cpp 第 33 行定义.

引用了 a, b, best, distance, dx, dy, dz, eve::Diagnostic::error(), eve::Result< T >::failure(), eve::InvalidArgument, eve::NotFound, offset, eve::editing::GizmoSnapshot::primitives , 以及 eve::Result< T >::success().


该类的文档由以下文件生成: