예제 #1
0
 public bool GetProjectionMatrix(float nearFact,
                                 float farFact,
                                 int screenWidth,
                                 int screenHeight,
                                 ScreenOrientation screenOrientation,
                                 int mode,
                                 float[] matrix)
 {
     return(GetProjectionMatrix(nearFact, farFact, screenWidth, screenHeight, VLUnityCameraHelper.GetRenderRotation(screenOrientation), mode, matrix));
 }
예제 #2
0
 private void OnOrientationChange(ScreenOrientation orientation)
 {
     this.renderRotation = VLUnityCameraHelper.GetRenderRotation(orientation);
     this.invRotCamera   = VLUnityCameraHelper.GetRenderRotationMatrixFromVLToUnity(this.renderRotation);
     this.rotCamera      = VLUnityCameraHelper.GetRenderRotationMatrixFromUnityToVL(this.renderRotation);
 }
예제 #3
0
 private void OnOrientationChange(ScreenOrientation orientation)
 {
     this.renderRotation = VLUnityCameraHelper.GetRenderRotation(orientation);
     this.UpdateBackgroundSize();
 }