UnityLink`
UnityLink`

UnityMaterial

UnityMaterial[data]

represents a Unity material component.

Examples

open allclose all

Basic Examples  (2)

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 :

Find the UnityMaterial of a GameObject:

Capture the GameObject with the displayed UnityMaterial using UnityCameraImage:

Properties & Relations  (4)

UnityMaterialQ checks if an expression is a UnityMaterial:

PropertyList returns all available properties of the material.

PropertyValue returns the value of the specified property.

SetProperty changes the material property of a GameObject.

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

Text

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

CMS

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

APA

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

BibTeX

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

BibLaTeX

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