UnityLink`
UnityLink`

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.

更多信息

范例

打开所有单元关闭所有单元

基本范例  (1)

Load the Unity Link:

Open a Unity project:

Create the default Unity cylinder primitive:

Get the mesh of the cylinder primitive:

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.

文本

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 年

BibTeX

@misc{reference.wolfram_2022_createunitycylinder, author="Wolfram Research", title="{CreateUnityCylinder}", year="2017", howpublished="\url{https://reference.wolfram.com/language/UnityLink/ref/CreateUnityCylinder.html}", note=[Accessed: 22-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2022_createunitycylinder, organization={Wolfram Research}, title={CreateUnityCylinder}, year={2017}, url={https://reference.wolfram.com/language/UnityLink/ref/CreateUnityCylinder.html}, note=[Accessed: 22-November-2024 ]}