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.

Details

Examples

open allclose all

Basic Examples  (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 (2019), CreateUnityCylinder, Wolfram Language function, https://reference.wolfram.com/language/UnityLink/ref/CreateUnityCylinder.html.

Text

Wolfram Research (2019), CreateUnityCylinder, Wolfram Language function, https://reference.wolfram.com/language/UnityLink/ref/CreateUnityCylinder.html.

CMS

Wolfram Language. 2019. "CreateUnityCylinder." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/UnityLink/ref/CreateUnityCylinder.html.

APA

Wolfram Language. (2019). CreateUnityCylinder. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/UnityLink/ref/CreateUnityCylinder.html

BibTeX

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

BibLaTeX

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