Skip to content
On this page

mathTool

mapped3to2(viewer, array) ⇒

三维坐标映射二维坐标,使二维 div 浮于指定三维目标上

Kind: global function
Returns: 实时返回二维坐标,x 对应 left,y 对应 bottom,'null'在视野外了

ParamTypeDescription
viewerViewer场景类
arrayArray当前坐标数组,[x,y,z]。