CreateUnityTexture2D
CreateUnityTexture2D["name",expr]
creates a 2D Unity texture from expr with the given name.
Details
- CreateUnityTexture2D returns a UnityTexture2D object it created, and $Failed if it cannot be created.
Examples
Basic Examples (1)
To use UnityLink, you need first to load the package:
Create a UnityTexture2D from an Image:
Create a UnityMaterial from the UnityTexture2D:
Convert the UnityTexture2D to an Image:
Text
Wolfram Research (2019), CreateUnityTexture2D, Wolfram Language function, https://reference.wolfram.com/language/UnityLink/ref/CreateUnityTexture2D.html.
CMS
Wolfram Language. 2019. "CreateUnityTexture2D." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/UnityLink/ref/CreateUnityTexture2D.html.
APA
Wolfram Language. (2019). CreateUnityTexture2D. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/UnityLink/ref/CreateUnityTexture2D.html