CreateUnityCylinder
creates a Unity cylinder primitive.
CreateUnityCylinder ["name"]
creates a Unity cylinder primitive named "name".
CreateUnityCylinder ["name",p]
creates a Unity cylinder primitive named "name" centered at p.
CreateUnityCylinder ["name",p,r]
creates a Unity cylinder primitive named "name" centered at p with radius r.
CreateUnityCylinder ["name",p,r,h]
creates a Unity cylinder primitive named "name" centered at p with radius r and height h.
Details
- CreateUnityCylinder returns a UnityGameObject it created, and $Failed if it cannot be created.
- CreateUnityCylinder is Listable.
Examples
open allclose allBasic Examples (1)
Scope (6)
Create the default Unity cylinder primitive:
Create a Unity cylinder primitive with a custom name:
Create a Unity cylinder primitive with a custom name and center:
Create a Unity cylinder primitive with a custom name, center, and radius:
Create a Unity cylinder primitive with a custom name, center, radius, and height:
Text
Wolfram Research (2019), CreateUnityCylinder, Wolfram Language function, https://reference.wolfram.com/language/UnityLink/ref/CreateUnityCylinder.html.
CMS
Wolfram Language. 2019. "CreateUnityCylinder." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/UnityLink/ref/CreateUnityCylinder.html.
APA
Wolfram Language. (2019). CreateUnityCylinder. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/UnityLink/ref/CreateUnityCylinder.html