我最初在 Vector3 中设置了我的 TransformableNode 大小。然后我缩放了我的 TransformableNode。我现在想要 Vector3 中以米尼特为单位的缩放 TransformableNode 大小。请帮助我。我尝试了这些但没有得到任何解决方案:
Vector3 vec = transformableNode.getLocalPosition();
Vector3 vector = transformableNode.getWorldPosition();
Vector3 vector31 = transformableNode.getWorldScale();
Vector3 vector32 = transformableNode.getLocalScale();
Log.e("Vector Local Position: ", String.valueOf(vec.x + " " + vec.y + " " + vec.z));
Log.e("Vector World Position: ", String.valueOf(vector.x + " " + vector.y + " " + vector.z));
Log.e("Vector World Scale: ", String.valueOf(vector31.x + " " + vector31.y + " " + vector31.z));
Log.e("Vector Local Scale: ", String.valueOf(vector32.x + " " + vector32.y + " " + vector32.z));