DeleteUnityLight[obj]
delete the Unity light component obj.
DeleteUnityLight["name"]
delete the Unity light component with the specified name.


DeleteUnityLight
DeleteUnityLight[obj]
delete the Unity light component obj.
DeleteUnityLight["name"]
delete the Unity light component with the specified name.
Details and Options
- DeleteUnityLight destroys the Unity light component, and releases any references to obj.
- DeleteUnityLight[All] destroys all the lights in the current scene.
- DeleteUnityLight is Listable.
Examples
open all close allBasic Examples (1)
Scope (5)
Possible Issues (1)
A UnityLight cannot be accessed after deletion:
Related Guides
Text
Wolfram Research (2019), DeleteUnityLight, Wolfram Language function, https://reference.wolfram.com/language/UnityLink/ref/DeleteUnityLight.html.
CMS
Wolfram Language. 2019. "DeleteUnityLight." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/UnityLink/ref/DeleteUnityLight.html.
APA
Wolfram Language. (2019). DeleteUnityLight. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/UnityLink/ref/DeleteUnityLight.html
BibTeX
@misc{reference.wolfram_2025_deleteunitylight, author="Wolfram Research", title="{DeleteUnityLight}", year="2019", howpublished="\url{https://reference.wolfram.com/language/UnityLink/ref/DeleteUnityLight.html}", note=[Accessed: 16-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_deleteunitylight, organization={Wolfram Research}, title={DeleteUnityLight}, year={2019}, url={https://reference.wolfram.com/language/UnityLink/ref/DeleteUnityLight.html}, note=[Accessed: 16-August-2025]}