CreateUnitySphere
CreateUnitySphere[]
creates a Unity sphere primitive.
CreateUnitySphere["name"]
creates a Unity sphere primitive named "name".
CreateUnitySphere["name",p]
creates a Unity sphere primitive named "name" centered at p.
CreateUnitySphere["name",p,r]
creates a Unity sphere primitive named "name" centered at p with radius r.
更多信息
- CreateUnitySphere returns a UnityGameObject it created, and $Failed if it cannot be created.
- CreateUnitySphere is Listable.
范例
打开所有单元关闭所有单元基本范例 (2)
Scope (5)
Create the default Unity sphere primitive:
Create a Unity sphere primitive with a custom name:
Create a Unity sphere primitive with a custom name and center:
Create a Unity sphere primitive with a custom name, center, and radius:
CreateUnitySphere is Listable:
文本
Wolfram Research (2017),CreateUnitySphere,Wolfram 语言函数,https://reference.wolfram.com/language/UnityLink/ref/CreateUnitySphere.html.
CMS
Wolfram 语言. 2017. "CreateUnitySphere." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/UnityLink/ref/CreateUnitySphere.html.
APA
Wolfram 语言. (2017). CreateUnitySphere. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/UnityLink/ref/CreateUnitySphere.html 年