일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |
Tags
- C++
- ubuntu
- null
- if
- List
- c++11
- boost
- SVN
- Unity
- Shader
- conda
- Eclipse
- awk
- 쉘
- sqlite
- python
- autovacuum
- postgresql
- with
- FIND
- ngui
- sql
- DROP
- mysql
- dataframe
- expect
- pi
- SSH
- 배열
- pandas
Archives
- Today
- Total
その先にあるもの…
WorldToScreenPoint WorldToViewportPoint 본문
Camera. WorldToScreenPoint
Transforms
position
from world space into screen space.Screenspace is defined in pixels. The bottom-left of the screen is (0,0); the right-top is (pixelWidth,pixelHeight). The z position is in world units from the camera.
http://docs.unity3d.com/ScriptReference/Camera.WorldToScreenPoint.html
Camera. WorldToViewportPoint
Transforms position
from world space into viewport space.
Viewport space is normalized and relative to the camera. The bottom-left of the camera is (0,0); the top-right is (1,1). The z position is in world units from the camera.
http://docs.unity3d.com/ScriptReference/Camera.WorldToViewportPoint.html
'프로그래밍 > Unity' 카테고리의 다른 글
Build error: The type or namespace name 'UnityEditor' could not be found. (0) | 2015.03.26 |
---|---|
AnimatorStateInfo (0) | 2015.03.12 |
StartCoroutine (0) | 2015.03.03 |
스크립트에서 RenderTexture 사용 (0) | 2015.02.25 |
The same field name is serialized multiple times in the class or it's parent class. (0) | 2015.02.24 |
Comments