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

Basic Examples  (2)

Load the Unity Link:

Open a Unity project:

Create the default Unity sphere primitive:

Get the mesh of the sphere primitive:

Scope  (5)

Create the default Unity sphere primitive:

Create a Unity sphere primitive with a custom name:

Create a Unity sphere primitive with a custom name and center:

Create a Unity sphere primitive with a custom name, center, and radius:

CreateUnitySphere is Listable: