更新 2025.2.7 krpano 1.22.3
view元素包含当前视域的信息。在xml中,可用于设置起始视域设定。
观看方向由hlookat/vlookat属性定义,当前视场由fov属性定义。要限定部分全景的视场,可以使用limitview属性。
<view hlookat=”0.0″
vlookat=”0.0″
camroll=”0.0″
fovtype=”VFOV”
fov=”90.0″
hfov=””
vfov=””
dfov=””
mfov=””
sfov=””
fovmin=”1.0″
fovmax=”179.0″
maxpixelzoom=””
mfovratio=”1.333333″
distortion=”0.0″
distortionfovlink=”0.5″
stereographic=”true”
pannini=”0.0″
architectural=”0.0″
architecturalonlymiddle=”true”
longexposure=”0.0″
limitview=”auto”
hlookatmin=””
hlookatmax=””
vlookatmin=””
vlookatmax=””
rx=”” ry=””
tx=”” ty=”” tz=””
ox=”” oy=”” oz=””/>
vlookat=”0.0″
camroll=”0.0″
fovtype=”VFOV”
fov=”90.0″
hfov=””
vfov=””
dfov=””
mfov=””
sfov=””
fovmin=”1.0″
fovmax=”179.0″
maxpixelzoom=””
mfovratio=”1.333333″
distortion=”0.0″
distortionfovlink=”0.5″
stereographic=”true”
pannini=”0.0″
architectural=”0.0″
architecturalonlymiddle=”true”
longexposure=”0.0″
limitview=”auto”
hlookatmin=””
hlookatmax=””
vlookatmin=””
vlookatmax=””
rx=”” ry=””
tx=”” ty=”” tz=””
ox=”” oy=”” oz=””/>
动态只读变量:
- view.haschanged
- view.pixelzoom
- view.hlookatrange
- view.vlookatrange
- view.ox_rotated/oy_rotated/oz_rotated
- view.dir.x/dir.y/dir.z
- view.dir.rx/dir.ry/dir.rz
- view.dir.ux/dir.uy/dir.uz
动作函数:
- view.syncto(otherview)
- view.unproject(x,y,d,rotated)
- view.remapfovtype(fov,srcfovtype,destfovtype,w,h)
- view.fovtoscale(fov,fovtype,w,h)
- view.resetlimits()
- view.update()
以下为隐藏内容,注册vip后查看
下一页为krpano 1.21文档
视角 看晕了