onPointerlockChange method
dynamic
onPointerlockChange()
Implementation
onPointerlockChange() {
if (scope.domElement.pointerLockElement == scope.domElement) {
scope.dispatchEvent(_lockEvent);
scope.isLocked = true;
} else {
scope.dispatchEvent(_unlockEvent);
scope.isLocked = false;
}
}