UnityLink`
UnityLink`

CreateUnityMaterial

CreateUnityMaterial ["name",expr]

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

Details

Examples

Basic Examples  (1)

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

Open a Unity project:

Create a UnityMaterial from a color:

Set the material of a GameObject using UnityMaterial :

Capture the GameObject with the displayed UnityMaterial using UnityCameraImage:

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

Text

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

CMS

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

APA

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

BibTeX

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

BibLaTeX

@online{reference.wolfram_2022_createunitymaterial, organization={Wolfram Research}, title={CreateUnityMaterial}, year={2019}, url={https://reference.wolfram.com/language/UnityLink/ref/CreateUnityMaterial.html}, note=[Accessed: 26-December-2024 ]}