node.position.set 和node.setPosition 有啥区别

我在动态设置照相机的位置 发现node.position.set 设置的没有效果,node.setPosition 有效果。

position是只读属性。你并不能对只读属性操作。