Camera.pixelHeightvar pixelHeight : floatDescriptionHow tall is the camera in pixels (Read Only).
JavaScript
print ("Camera is " + camera.pixelHeight + " pixels high"); using UnityEngine; import UnityEngine |
|
||||
| Scripting > Runtime Classes > Camera | Switch to Component | |||
Camera.pixelHeightvar pixelHeight : floatDescriptionHow tall is the camera in pixels (Read Only).
JavaScript
print ("Camera is " + camera.pixelHeight + " pixels high"); using UnityEngine; import UnityEngine |