소스 검색

t.headset.overlay;

bjorn 3 년 전
부모
커밋
ec4387c3a5
1개의 변경된 파일6개의 추가작업 그리고 0개의 파일을 삭제
  1. 6 0
      api/lovr/callbacks/conf.lua

+ 6 - 0
api/lovr/callbacks/conf.lua

@@ -151,6 +151,11 @@ return {
               name = 'msaa',
               type = 'number',
               description = 'The amount of antialiasing to use when rendering to the headset.'
+            },
+            {
+              name = 'overlay',
+              type = 'boolean',
+              description = 'Whether the project should run as an overlay.'
             }
           }
         },
@@ -272,6 +277,7 @@ return {
           t.headset.supersample = false
           t.headset.offset = 1.7
           t.headset.msaa = 4
+          t.headset.overlay = false
 
           -- Math settings
           t.math.globals = true