UnityLink`
UnityLink`

CreateUnityMesh

CreateUnityMesh["name",expr]

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

更多信息

  • CreateUnityMesh returns a UnityMesh object it created, and $Failed if it cannot be created.

范例

打开所有单元关闭所有单元

基本范例  (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 (2017),CreateUnityMesh,Wolfram 语言函数,https://reference.wolfram.com/language/UnityLink/ref/CreateUnityMesh.html.

文本

Wolfram Research (2017),CreateUnityMesh,Wolfram 语言函数,https://reference.wolfram.com/language/UnityLink/ref/CreateUnityMesh.html.

CMS

Wolfram 语言. 2017. "CreateUnityMesh." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/UnityLink/ref/CreateUnityMesh.html.

APA

Wolfram 语言. (2017). CreateUnityMesh. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/UnityLink/ref/CreateUnityMesh.html 年

BibTeX

@misc{reference.wolfram_2022_createunitymesh, author="Wolfram Research", title="{CreateUnityMesh}", year="2017", 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={2017}, url={https://reference.wolfram.com/language/UnityLink/ref/CreateUnityMesh.html}, note=[Accessed: 22-November-2024 ]}