提交 c36ee094 编写于 作者: M Mr.doob

WebVR: Changed button text to make it clear what API is being used.

上级 22ff2fe2
......@@ -47,7 +47,7 @@ var WEBVR = {
session.addEventListener( 'end', onSessionEnded );
renderer.vr.setSession( session );
button.textContent = 'EXIT VR';
button.textContent = 'EXIT XR';
currentSession = session;
......@@ -58,7 +58,7 @@ var WEBVR = {
currentSession.removeEventListener( 'end', onSessionEnded );
renderer.vr.setSession( null );
button.textContent = 'ENTER VR';
button.textContent = 'ENTER XR';
currentSession = null;
......@@ -72,7 +72,7 @@ var WEBVR = {
button.style.left = 'calc(50% - 50px)';
button.style.width = '100px';
button.textContent = 'ENTER VR';
button.textContent = 'ENTER XR';
button.onmouseenter = function () { button.style.opacity = '1.0'; };
button.onmouseleave = function () { button.style.opacity = '0.5'; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册