UnityLink`
UnityLink`

CreateUnityCapsule

CreateUnityCapsule[]

creates a Unity capsule primitive.

CreateUnityCapsule["name"]

creates a Unity capsule primitive named "name".

CreateUnityCapsule["name",p]

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

Details

Examples

open allclose all

Basic Examples  (1)

Load the Unity Link:

Open a Unity project:

Create the default Unity capsule primitive:

Get the mesh of the capsule primitive:

Scope  (4)

Create the default Unity capsule primitive:

Create a Unity capsule primitive with a custom name:

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

CreateUnityCapsule is Listable:

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

Text

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

CMS

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

APA

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

BibTeX

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

BibLaTeX

@online{reference.wolfram_2022_createunitycapsule, organization={Wolfram Research}, title={CreateUnityCapsule}, year={2019}, url={https://reference.wolfram.com/language/UnityLink/ref/CreateUnityCapsule.html}, note=[Accessed: 05-November-2024 ]}