camera.pixelheight 相机高度

2015-1-4 05:07| 发布者: 杨炎| 查看: 2064| 评论: 0|原作者: 蛮牛|来自: yzc88亚洲城脚本manual

摘要: camera.pixelheight 相机高度varpixelheight: floatdescription描述how tall is the camera in pixels (read only).相机有多高,以像素单位(只读)。c#javascriptusing unityengine;using system.collections;publi ...

camera.pixelheight 相机高度

varpixelheight: float

description描述

how tall is the camera in pixels (read only).

相机有多高,以像素单位(只读)。

c#

javascript

using unityengine;

using system.collections;

public class example :monobehaviour{

public void awake() {

print("camera is " + camera.pixelwidth + " pixels wide");

}

}

print ("camera is " + camera.pixelwidth + " pixels wide");

相关阅读

文章点评
相关文章