UnityLink`
UnityLink`

UnityTexture2D

UnityTexture2D[data]

represents a 2D Unity texture.

Examples

open allclose all

Basic Examples  (1)

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

Open a Unity project:

Create a UnityTexture2D from an Image:

Test that an expression is a UnityTexture2D:

Convert the UnityTexture2D to an Image:

Delete a UnityTexture2D:

Properties & Relations  (4)

UnityTexture2DQ checks if an expression is a UnityTexture2D:

PropertyList returns all available properties of the 2D texture.

PropertyValue returns the value of the specified property.

SetProperty changes the specified property of the 2D texture.

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

Text

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

CMS

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

APA

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

BibTeX

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

BibLaTeX

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