deletes the Unity terrain component comp.
deletes the Unity terrain component attached to the UnityGameObject obj.
deletes the Unity terrain component with the specified name.


DeleteUnityTerrain
deletes the Unity terrain component comp.
deletes the Unity terrain component attached to the UnityGameObject obj.
deletes the Unity terrain component with the specified name.
Details and Options
- DeleteUnityTerrain destroys the Unity terrain component, and releases all references to it.
- DeleteUnityTerrain[All] destroys all the terrain components in the current scene.
- DeleteUnityTerrain is Listable.
Examples
open all close allBasic Examples (1)
Possible Issues (1)
A UnityTerrain cannot be accessed after deletion:
Text
Wolfram Research (2019), DeleteUnityTerrain, Wolfram Language function, https://reference.wolfram.com/language/UnityLink/ref/DeleteUnityTerrain.html.
CMS
Wolfram Language. 2019. "DeleteUnityTerrain." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/UnityLink/ref/DeleteUnityTerrain.html.
APA
Wolfram Language. (2019). DeleteUnityTerrain. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/UnityLink/ref/DeleteUnityTerrain.html
BibTeX
@misc{reference.wolfram_2025_deleteunityterrain, author="Wolfram Research", title="{DeleteUnityTerrain}", year="2019", howpublished="\url{https://reference.wolfram.com/language/UnityLink/ref/DeleteUnityTerrain.html}", note=[Accessed: 18-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_deleteunityterrain, organization={Wolfram Research}, title={DeleteUnityTerrain}, year={2019}, url={https://reference.wolfram.com/language/UnityLink/ref/DeleteUnityTerrain.html}, note=[Accessed: 18-August-2025]}