UnityMaterial[data]
represents a Unity material component.
UnityMaterial
UnityMaterial[data]
represents a Unity material component.
Examples
open all close allBasic Examples (2)
To use UnityLink, you need first to load the package:
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.
Related Guides
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_2025_unitymaterial, author="Wolfram Research", title="{UnityMaterial}", year="2019", howpublished="\url{https://reference.wolfram.com/language/UnityLink/ref/UnityMaterial.html}", note=[Accessed: 16-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_unitymaterial, organization={Wolfram Research}, title={UnityMaterial}, year={2019}, url={https://reference.wolfram.com/language/UnityLink/ref/UnityMaterial.html}, note=[Accessed: 16-August-2025]}