We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
begin: 2023/10/13
lec3d
addControls
init
camera
PerspectiveCamera
position
getClickEventTarget
controls
CSS2DRenderer
CSS2DObject
OrbitControls
eventTargets
const handleClick = (e) => { const targets = getClickEventTargets(e); };
Originally posted by @CoderSerio in #1 (comment)
The text was updated successfully, but these errors were encountered:
剩余的几个点会放到后续迭代中进行,或拆成单独的issue
Sorry, something went wrong.
No branches or pull requests
Plan for v0.0.4
BUG
lec3d
ts类型为anyaddControls
不加参数的情况没有处理init
返回的camera
类型似乎有问题,当前是PerspectiveCamera
,使用时报错说不存在position
属性功能
getClickEventTarget
增加一个配置参数,用于配置点击后的效果,如高亮等addControls
新增返回值controls
, 用于动态调整当前是否激活鼠标控制,防止镜头平滑移动场景中视角被用户改变CSS2DRenderer
,CSS2DObject
,OrbitControls
等对象CSS2DObject
的显示/隐藏控制配置项优化
其他调整
eventTargets
看上去容易和原生的字面意思混淆,或许应该调整一下 #29Originally posted by @CoderSerio in #1 (comment)
The text was updated successfully, but these errors were encountered: