UnityLink`
UnityLink`

CreateUnitySphere

CreateUnitySphere[]

creates a Unity sphere primitive.

CreateUnitySphere["name"]

creates a Unity sphere primitive named "name".

CreateUnitySphere["name",p]

creates a Unity sphere primitive named "name" centered at p.

CreateUnitySphere["name",p,r]

creates a Unity sphere primitive named "name" centered at p with radius r.

Details

Examples

open all close all

Basic Examples  (2)

Load the Unity Link:

In[1]:=
Click for copyable input

Open a Unity project:

In[2]:=
Click for copyable input

Create the default Unity sphere primitive:

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

Get the mesh of the sphere primitive:

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

Scope  (5)