Quantcast
Channel: Questions in topic: "camera ratio"
Viewing all articles
Browse latest Browse all 16

How to resize camera ratio.

$
0
0
![alt text][1] [1]: /storage/temp/33472-question.png Camera Attribute. - tk2d camera. - Native resolution = 800 x 480 - overrides = fit mode - constant = x : 150 , y = 0 I use tk2d-Camera. but some happen problem in device like upload image. Ratio of editor view = 800 x 480 ( 5:3 ) Ratio of device view = 16 : 4 If device-ratio is 5:3, is perfect ( Same Ratio like Editor view ). But, in another device, is not perfect( Same Ratio like Device view ) I already used function : Camera.SetResolution(width, (height / 5 * 3)); how to solve this problem.

Viewing all articles
Browse latest Browse all 16

Latest Images

Trending Articles





Latest Images