UnityLink`
UnityLink`

CreateUnityCube

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

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 cube primitive:

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

Get the mesh of the cube primitive:

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

Scope  (5)