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 all close all

Basic Examples  (1)

Load the Unity Link:

In[1]:=
Click for copyable input

Open a Unity project:

In[2]:=
Click for copyable input

Create the default Unity cylinder primitive:

In[3]:=
Click for copyable input
Out[3]=

Get the mesh of the cylinder primitive:

In[4]:=
Click for copyable input
Out[4]=

Scope  (6)