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
当我使用没有设计HitArea的模型素材时,未关闭自动交互即autoInteract为true时,可以触发model.on('hit')或者model.on('pointerdown'); 当我关闭了自动交互即autoInteract为false时,即使增加了canvasElement.addEventListener('pointerdown', (event) => model.tap(event.clientX, event.clientY));,也无法触发model.on('hit')或者model.on('pointerdown'); 由于素材不方便外显,若需要最小实现,我再找找别的素材来用,感谢
model.on('hit')
model.on('pointerdown')
canvasElement.addEventListener('pointerdown', (event) => model.tap(event.clientX, event.clientY));
The text was updated successfully, but these errors were encountered:
No branches or pull requests
当我使用没有设计HitArea的模型素材时,未关闭自动交互即autoInteract为true时,可以触发
model.on('hit')
或者model.on('pointerdown')
;当我关闭了自动交互即autoInteract为false时,即使增加了
canvasElement.addEventListener('pointerdown', (event) => model.tap(event.clientX, event.clientY));
,也无法触发model.on('hit')
或者model.on('pointerdown')
;由于素材不方便外显,若需要最小实现,我再找找别的素材来用,感谢
The text was updated successfully, but these errors were encountered: