page3
Three Dimensions(三维)
1:The locations in the scene graph are defined using X, Y and Z coordinates(场景图中位置定义用XYZ)
2:Y is upwards, X is right and Z is towards you(比较适合左手定则,手心对着自己就是z轴,大拇指是y轴,四指指向x轴)
a spatial with a zero location and rotation(一个空间有0点坐标和旋转)

you can move the spatial using e.g.
spatial.move(1, 1, 0);

the spatial has moved (translated) along the  x and y axes
沿x和y轴的移动空间

you can rotate the spatial around the z axis by using e.g.
spatial.rotate(0, 0, FastMath.HALF_PI);好像是轴旋转半π

you can scale the spatial by using e.g. 缩放效果
spatial.scale(2);

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-09
  • 2021-11-20
  • 2021-06-02
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-05-12
  • 2021-09-11
  • 2021-08-18
  • 2022-03-10
  • 2021-11-03
  • 2021-12-23
  • 2022-12-23
相关资源
相似解决方案