UnityLink`
UnityLink`

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.

Details

Examples

open allclose all

Basic Examples  (2)

Load the Unity Link:

Open a Unity project:

Create the default Unity sphere primitive:

Get the mesh of the sphere primitive:

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

Text

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

CMS

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

APA

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

BibTeX

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

BibLaTeX

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