UnityTerrainCollider
represents a Unity terrain collider.
Details
- UnityTerrainCollider
is a object that represents an existing TerrainCollider object in the Unity game engine.
- UnityTerrainCollider
is typically generated by functions such as CreateUnityTerrainCollider.
- UnityTerrainCollider
gives a list of possible properties.
- The value associated with a given property "prop" can be extracted using UnityTerrainCollider
.
- You can make an assignment like UnityTerrainCollider
to modify a property of the object.
Examples
open allclose allBasic Examples (1)Summary of the most common use cases
Load the package and open a project:

https://wolfram.com/xid/0dndld1nh4hydaljxwvp2iz2bpe-i9rs1

https://wolfram.com/xid/0dndld1nh4hydaljxwvp2iz2bpe-ejzug9
Create a Unity terrain collider:

https://wolfram.com/xid/0dndld1nh4hydaljxwvp2iz2bpe-yulsnf


https://wolfram.com/xid/0dndld1nh4hydaljxwvp2iz2bpe-nsf6ie

Delete the Unity terrain collider:

https://wolfram.com/xid/0dndld1nh4hydaljxwvp2iz2bpe-h1bm2k
Properties & Relations (4)Properties of the function, and connections to other functions
UnityTerrainColliderQ checks if an expression is a UnityTerrainCollider:

https://wolfram.com/xid/0dndld1nh4hydaljxwvp2iz2bpe-zzwj4d


https://wolfram.com/xid/0dndld1nh4hydaljxwvp2iz2bpe-zqryn8

PropertyList returns all available properties of the terrain collider.

https://wolfram.com/xid/0dndld1nh4hydaljxwvp2iz2bpe-kgsb80


https://wolfram.com/xid/0dndld1nh4hydaljxwvp2iz2bpe-5mjsp7

PropertyValue returns the value of the specified property.

https://wolfram.com/xid/0dndld1nh4hydaljxwvp2iz2bpe-wol1l0


https://wolfram.com/xid/0dndld1nh4hydaljxwvp2iz2bpe-t1bnqj

SetProperty changes the specified property of the terrain collider.

https://wolfram.com/xid/0dndld1nh4hydaljxwvp2iz2bpe-o6plun


https://wolfram.com/xid/0dndld1nh4hydaljxwvp2iz2bpe-xl25i5

https://wolfram.com/xid/0dndld1nh4hydaljxwvp2iz2bpe-xry6wk

Wolfram Research (2019), UnityTerrainCollider, Wolfram Language function, https://reference.wolfram.com/language/UnityLink/ref/UnityTerrainCollider.html.
Text
Wolfram Research (2019), UnityTerrainCollider, Wolfram Language function, https://reference.wolfram.com/language/UnityLink/ref/UnityTerrainCollider.html.
Wolfram Research (2019), UnityTerrainCollider, Wolfram Language function, https://reference.wolfram.com/language/UnityLink/ref/UnityTerrainCollider.html.
CMS
Wolfram Language. 2019. "UnityTerrainCollider." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/UnityLink/ref/UnityTerrainCollider.html.
Wolfram Language. 2019. "UnityTerrainCollider." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/UnityLink/ref/UnityTerrainCollider.html.
APA
Wolfram Language. (2019). UnityTerrainCollider. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/UnityLink/ref/UnityTerrainCollider.html
Wolfram Language. (2019). UnityTerrainCollider. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/UnityLink/ref/UnityTerrainCollider.html
BibTeX
@misc{reference.wolfram_2022_unityterraincollider, author="Wolfram Research", title="{UnityTerrainCollider}", year="2019", howpublished="\url{https://reference.wolfram.com/language/UnityLink/ref/UnityTerrainCollider.html}", note=[Accessed: 09-March-2025
]}
BibLaTeX
@online{reference.wolfram_2022_unityterraincollider, organization={Wolfram Research}, title={UnityTerrainCollider}, year={2019}, url={https://reference.wolfram.com/language/UnityLink/ref/UnityTerrainCollider.html}, note=[Accessed: 09-March-2025
]}