找回密碼
 注冊帳號

掃一掃,訪問微社區

camera.resetprojectionmatrix 重設投影矩陣

2015-1-4 06:37| 發布者: 楊炎| 查看: 2343| 評論: 0|原作者: 蠻牛|來自: unity3d腳本manual

摘要: camera.resetaspect 重設長寬比functionresetprojectionmatrix() : voiddescription描述revert the aspect ratio to the screen's aspect ratio.恢復長寬比為屏幕的長寬比。call this to end the effect of settinga ...

camera.resetaspect 重設長寬比

functionresetprojectionmatrix() : void

description描述

revert the aspect ratio to the screen's aspect ratio.

恢復長寬比為屏幕的長寬比。

call this to end the effect of settingaspect.

調用這個結束aspect設置的效果。

c#

javascript

using unityengine;

using system.collections;

public class example :monobehaviour{

public void awake() {

camera.resetaspect();

}

}

camera.resetaspect();

相關閱讀

文章點評
相關文章
女校游泳队彩金