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
- CreateUnityCube returns a UnityGameObject it created, and $Failed if it cannot be created.
- CreateUnityCube is Listable.
Examples
open allclose allText
Wolfram Research (2019), CreateUnityCube, Wolfram Language function, https://reference.wolfram.com/language/UnityLink/ref/CreateUnityCube.html.
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