camera.resetprojectionmatrix 重设投影矩阵

2015-1-4 06:37| 发布者: 杨炎| 查看: 2194| 评论: 0|原作者: 蛮牛|来自: yzc88亚洲城脚本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();

相关阅读

文章点评
相关文章