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