UnityLink`
UnityLink`

CreateUnityCapsule

CreateUnityCapsule[]

creates a Unity capsule primitive.

CreateUnityCapsule["name"]

creates a Unity capsule primitive named "name".

CreateUnityCapsule["name",p]

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

Details

Examples

open allclose all

Basic Examples  (1)

Load the Unity Link:

Open a Unity project:

Create the default Unity capsule primitive:

Get the mesh of the capsule primitive:

Scope  (4)

Create the default Unity capsule primitive:

Create a Unity capsule primitive with a custom name:

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

CreateUnityCapsule is Listable: