Skip to content

Instantly share code, notes, and snippets.

@nacika-ins
Created June 5, 2016 15:17
Show Gist options
  • Save nacika-ins/4f1db0e19ab3cb61f546befd1db6bf65 to your computer and use it in GitHub Desktop.
Save nacika-ins/4f1db0e19ab3cb61f546befd1db6bf65 to your computer and use it in GitHub Desktop.
<GVRCardboardViewDelegate> Protocol
(void) 	- cardboardView:didFireEvent:
 	ユーザーイベントが発生したときに呼び出されます
(void) 	- cardboardView:willStartDrawing:
 	最初のフレームが描画される前に呼ばれます
(void) 	- cardboardView:prepareDrawFrame:
 	各フレームの開始前に繰り返し呼ばれます
(void) 	- cardboardView:drawEye:withHeadTransform:
 	OpenGL レンダリングを実行するために、各フレーム毎に呼び出されます
(void) 	- cardboardView:shouldPauseDrawing:
 	設定画面開いてるときとかに描画が一時停止されたときに呼ばれます
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment