gpt4 book ai didi

xcode - Xcode 中的场景编辑器使用什么单位?

转载 作者:行者123 更新时间:2023-12-04 23:51:59 28 4
gpt4 key购买 nike

Xcode 中的场景编辑器显示大小但不显示单位。它是以英寸为单位的尺寸还是以米为单位的尺寸?

例如,当我选择一个节点时,例如一个盒子,当我在节点检查器中检查它的属性并在“边界框”旁边的“变换”部分检查它的大小时,没有显示任何单位。

Bounding Box in the Scene Editor in Xcode

该单位似乎与“语言和地区”首选项 Pane (在“高级...”弹出窗口中)中设置的系统度量单位无关,因为当我在节点检查器中时,数字不会更改在“公制”和“美制”之间切换测量单位。

最佳答案

尺寸以米表示。请参阅 SceneKit 文档:

All values in SceneKit’s physics simulation use the International System of Units (SI): The unit of mass is the kilogram; the units of force, impulse, and torque are the newton, newton-second, and newton-meter; and the unit of distance for node positions and sizes is the meter.

关于xcode - Xcode 中的场景编辑器使用什么单位?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46558540/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com