संदर्भ exitPointerLock()

exitPointerLock()

शुरूआत पॉइंटर लॉक से बाहर निकलता है requestPointerLock.

कॉलिंग requestPointerLock() के मान लॉक हो जाते हैं mouseX, mouseY, pmouseX, और pmouseYexitPointerLock() को कॉल करने से माउस सिस्टम अपडेट होना शुरू हो जाता है चर.

ध्यान दें: अधिकांश ब्राउज़रों को कॉल करने से पहले एक इनपुट की आवश्यकता होती है, जैसे कि एक क्लिक requestPointerLock()। कॉल करने की अनुशंसा की जाती है requestPointerLock() में एक इवेंट फ़ंक्शन जैसे doubleClicked().

उदाहरण

This page is generated from the comments in src/events/mouse.js . Please feel free to edit it and submit a pull request!

संबंधित संदर्भ