DeleteUnityTexture2D
DeleteUnityTexture2D[obj]
deletes the 2D Unity texture obj.
Details
- DeleteUnityTexture2D destroys the texture, and releases any references to obj.
Examples
open allclose allBasic Examples (1)
To use UnityLink, you need first to load the package:
Create a UnityTexture2D from an Image:
Delete a UnityTexture2D:
Possible Issues (1)
A UnityTexture2D cannot be accessed after deletion:
Text
Wolfram Research (2019), DeleteUnityTexture2D, Wolfram Language function, https://reference.wolfram.com/language/UnityLink/ref/DeleteUnityTexture2D.html.
CMS
Wolfram Language. 2019. "DeleteUnityTexture2D." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/UnityLink/ref/DeleteUnityTexture2D.html.
APA
Wolfram Language. (2019). DeleteUnityTexture2D. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/UnityLink/ref/DeleteUnityTexture2D.html