krpano教程 - autorotate自動旋轉標籤中文說明

krpano教程 - autorotate自動旋轉標籤中文說明 

<autorotate enabled="false"     是否開啓自動旋轉
            waittime="1.5"      用戶不對屏幕操作後,開始自動旋轉的等待秒數
            accel="1.0"         旋轉扭曲的速度:角度/秒
            speed="10.0"        最大旋轉速度:角度/秒
            horizon="0.0"       旋轉到特定的水平位置
            tofov="off"         縮放到特定的區域視角
            />

當無用戶交互時.自動旋轉、扭曲/移動,縮放


樣例:


<autorotate enabled="true"
            waittime="5.0" 
            speed="-3.0" 
            horizon="0.0" 
            tofov="120.0" 
            />

自動旋轉控制:

switch(autorotate.enabled);

 

 

來源:必學網

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章