UnityLink`
UnityLink`

CreateUnityCube

CreateUnityCube []

creates a Unity cube primitive.

CreateUnityCube ["name"]

creates a Unity cube primitive named "name".

CreateUnityCube ["name",p]

creates a Unity cube primitive named "name" centered at p.

CreateUnityCube ["name",p,l]

creates a Unity cube primitive named "name" centered at p with edge length l.

Details

Examples

open allclose all

Basic Examples  (2)

Load the Unity Link:

Open a Unity project:

Create the default Unity cube primitive:

Get the mesh of the cube primitive:

Scope  (5)

Create the default Unity cube primitive:

Create a Unity cube primitive with a custom name:

Create a Unity cube primitive with a custom name and center:

Create a Unity cube primitive with a custom name, center, and length:

CreateUnitySphere is Listable:

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

Text

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

BibTeX

@misc{reference.wolfram_2020_createunitycube, author="Wolfram Research", title="{CreateUnityCube}", year="2019", howpublished="\url{https://reference.wolfram.com/language/UnityLink/ref/CreateUnityCube.html}", note=[Accessed: 26-February-2021 ]}

BibLaTeX

@online{reference.wolfram_2020_createunitycube, organization={Wolfram Research}, title={CreateUnityCube}, year={2019}, url={https://reference.wolfram.com/language/UnityLink/ref/CreateUnityCube.html}, note=[Accessed: 26-February-2021 ]}

CMS

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

APA

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