new XUIEarth()
Methods
-
DistoryEarth3d()
-
内存中摧毁3D地球对象
-
SetCameraPosition(fX, fY, fZ)
-
调整相机视角
Parameters:
Name Type Description fX
Float x轴 fY
Float y轴 fZ
Float z轴 Properties:
Name Type Description CameraPosition
Collection [0,0,1000] -
SetEarth3d(strImagePath)
-
创建3D地球
Parameters:
Name Type Description strImagePath
ImageProp 图片路径 Properties:
Name Type Description Earth3dPath
ImageProp "common_3d/XUIEarth/images/chinese3D.png" -
SetEarth3dPosition(fX, fY, fZ)
-
地球3d位置
Parameters:
Name Type Description fX
Float 左右位移 fY
Float 垂直方位 fZ
Float 上下位移 Properties:
Name Type Description Earth3dPosition
Collection [0.0,0.0,0.0] -
SetEarth3dRotation(fX, fY, fZ)
-
地球3d立体旋转
Parameters:
Name Type Description fX
Float x轴为中心 fY
Float y轴为中心 fZ
Float z轴为中心 Properties:
Name Type Description Earth3dRotation
Collection [0.0,0.0,0.0] -
SetRotationSpeed(fSpeed)
-
调整旋转速度
Parameters:
Name Type Description fSpeed
Float 旋转速度 Properties:
Name Type Description RotationSpeed
Float 1.0