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:

Wolfram Research (2019), CreateUnityMesh, Wolfram Language function, https://reference.wolfram.com/language/UnityLink/ref/CreateUnityMesh.html.

Text

Wolfram Research (2019), CreateUnityMesh, Wolfram Language function, https://reference.wolfram.com/language/UnityLink/ref/CreateUnityMesh.html.

CMS

Wolfram Language. 2019. "CreateUnityMesh." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/UnityLink/ref/CreateUnityMesh.html.

APA

Wolfram Language. (2019). CreateUnityMesh. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/UnityLink/ref/CreateUnityMesh.html

BibTeX

@misc{reference.wolfram_2022_createunitymesh, author="Wolfram Research", title="{CreateUnityMesh}", year="2019", howpublished="\url{https://reference.wolfram.com/language/UnityLink/ref/CreateUnityMesh.html}", note=[Accessed: 22-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2022_createunitymesh, organization={Wolfram Research}, title={CreateUnityMesh}, year={2019}, url={https://reference.wolfram.com/language/UnityLink/ref/CreateUnityMesh.html}, note=[Accessed: 22-November-2024 ]}