UnityLink`
UnityLink`

CreateUnityTexture2D

CreateUnityTexture2D["name",expr]

creates a 2D Unity texture from expr with the given name.

Details

Examples

Basic Examples  (1)

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

Open a Unity project:

Create a UnityTexture2D from an Image:

Create a UnityMaterial from the UnityTexture2D:

Convert the UnityTexture2D to an Image:

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

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

BibTeX

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

BibLaTeX

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