-
up属性
camera的up属性其实是继承基类Object3D,定义了三维空间中向上的方向。官方文档中原话是:
This is used by the lookAt method, for example, to determine the orientation of the result.
Default is Object3D.DefaultUp - that is, ( 0, 1, 0 )
怎么理解呢?直白翻译就是:供lookAt方法使用,决定结果(渲染)的方向。默认是(0,1,0)方向。而threejs中默认的3D坐标系如下图,: