UnityLink`
UnityLink`

CreateUnityCylinder

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

Examples

open allclose all

Basic Examples  (1)

Load the Unity Link:

Open a Unity project:

Create the default Unity cylinder primitive:

Get the mesh of the cylinder primitive:

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:

CreateUnityCylinder is Listable: