屏幕坐标的方法

View Code
/*
Script: Cycle_CooridinateSpace
Summary:
Cycles through the "View", "Screen", "World", "Parent", and "Local"coordinate space.
Once assigned to a hot-key, it will advance each time you press the button.

Author: Chris Harvey
*/

---2011.7.15 盖天解释
--屏幕坐标的几种方式
---还是没有研究过这个屏幕坐标
--学习



(
if getRefCoordSys() == #local then setRefCoordSys #hybrid
else if getRefCoordSys() == #hybrid then setRefCoordSys #screen
else if getRefCoordSys() == #screen then setRefCoordSys #world
else if getRefCoordSys() == #world then setRefCoordSys #parent
else if getRefCoordSys() == #parent then setRefCoordSys #local
else setRefCoordSys #hybrid
)

  

你可能感兴趣的:(方法)