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
- CreateUnityCapsule returns a UnityGameObject it created, and $Failed if it cannot be created.
- CreateUnityCapsule is Listable.
Examples
open allclose allBasic Examples (1)
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:
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