CreateUnityMesh
CreateUnityMesh ["name",expr]
creates a Unity mesh component from expr with the specified name.
Details
- CreateUnityMesh returns a UnityMesh object it created, and $Failed if it cannot be created.
Examples
open allclose allBasic Examples (1)
To use UnityLink, you need first to load the package:
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:
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