UnityLink`
UnityLink`

CreateUnityMesh

CreateUnityMesh ["name",expr]

creates a Unity mesh component from expr with the specified name.

Details

Examples

open allclose all

Basic Examples  (1)

To use UnityLink, you need first to load the package:

Open a Unity project:

Create a UnityMesh from a region:

Create a GameObject from the UnityMesh:

Convert the UnityMesh to a MeshRegion:

Scope  (6)

Create a Unity mesh from a 2D region:

Create a Unity mesh from a 3D region:

Create a Unity mesh from Graphics3D:

Create a Unity mesh from a BoundaryMeshRegion:

Create a Unity mesh from a MeshRegion:

Create a Unity mesh from a String: