Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Qe: bar3D-记录和还原当前视图位置 #512

Open
lstoryc opened this issue Nov 30, 2023 · 1 comment
Open

Qe: bar3D-记录和还原当前视图位置 #512

lstoryc opened this issue Nov 30, 2023 · 1 comment

Comments

@lstoryc
Copy link

lstoryc commented Nov 30, 2023

需求:

  1. 获取视图信息接口
  2. 设置视图信息接口

应用场景:

  1. 用户通过鼠标(拖动和滚轮)调整了视图角度,距离等信息
  2. 是否存在接口获取当前视图信息,比如角度, 距离等( getOption获取的并不是实时数据)
  3. 保存实时数据, 用于下次渲染是直接展示保存的状态
@lstoryc
Copy link
Author

lstoryc commented Nov 30, 2023

发现有⌚️“grid3dcamerachanged” 监听 角度变化

可是 distance变化咋监听呢?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant