DeleteUnityMeshRenderer
delete the UnityMeshRenderer comp.
delete the Unity mesh renderer component attached to the UnityGameObject obj.
delete the Unity mesh renderer component with the specified name.
Details
- DeleteUnityMeshRenderer destroys the Unity mesh renderer component, and releases any references to it.
- DeleteUnityMeshRenderer[All] destroys all the mesh renderer components in the current scene.
- DeleteUnityMeshRenderer is Listable.
Examples
open allclose allBasic Examples (2)
Possible Issues (1)
A UnityMeshRenderer cannot be accessed after deletion:
Text
Wolfram Research (2019), DeleteUnityMeshRenderer, Wolfram Language function, https://reference.wolfram.com/language/UnityLink/ref/DeleteUnityMeshRenderer.html.
CMS
Wolfram Language. 2019. "DeleteUnityMeshRenderer." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/UnityLink/ref/DeleteUnityMeshRenderer.html.
APA
Wolfram Language. (2019). DeleteUnityMeshRenderer. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/UnityLink/ref/DeleteUnityMeshRenderer.html