| MATLAB Function Reference | ![]() |
Syntax
campan(dtheta,dphi) campan(dtheta,dphi,'coordsys') campan(dtheta,dphi,'coordsys','direction') campan(axes_handle,...)
Description
依定義的角度 campan(dtheta,dphi)
dtheta 和 dphi
在攝影機的位置旋轉其目標。dtheta 為水平旋轉角度而 dphi 為垂直旋轉角度。
campan(dtheta,dphi,' coordsys')
coordsys
參數決定了旋轉的中心點。它可以使用以下兩個值:
campan(dtheta,dphi,' coordsys','direction')
direction
參數和攝影機的位置結合時,定義了對資料軸系統的軸旋轉。以三個元素的向量定義 direction,其元素包含了 x, y, 和 z
的方向元件或 x, y, z 其中之一的字元以表示 [1 0 0], [0 1 0],
或 [0 0 1]。
campan(axes_handle,...)
依定義的第一個參數 axes_handle 對軸進行運作。若沒有設定軸握把,campan
對現行軸進行運作。
See Also
axes, camdolly, camorbit, camtarget, camzoom, camroll
| camorbit | campos | ![]() |