UnityLink`
UnityLink`

DeleteUnityPhysicMaterial

DeleteUnityPhysicMaterial [comp]

deletes the Unity physic material component comp.

DeleteUnityPhysicMaterial [obj]

deletes the Unity physic material component attached to the UnityGameObject obj.

DeleteUnityPhysicMaterial ["name"]

deletes the Unity physic material component with the specified name.

Details

Examples

open allclose all

Basic Examples  (1)

Load the package and open a project:

Delete a Unity physic material component:

Possible Issues  (1)

A UnityPhysicMaterial cannot be accessed after deletion:

Wolfram Research (2019), DeleteUnityPhysicMaterial, Wolfram Language function, https://reference.wolfram.com/language/UnityLink/ref/DeleteUnityPhysicMaterial.html.

Text

Wolfram Research (2019), DeleteUnityPhysicMaterial, Wolfram Language function, https://reference.wolfram.com/language/UnityLink/ref/DeleteUnityPhysicMaterial.html.

CMS

Wolfram Language. 2019. "DeleteUnityPhysicMaterial." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/UnityLink/ref/DeleteUnityPhysicMaterial.html.

APA

Wolfram Language. (2019). DeleteUnityPhysicMaterial. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/UnityLink/ref/DeleteUnityPhysicMaterial.html

BibTeX

@misc{reference.wolfram_2022_deleteunityphysicmaterial, author="Wolfram Research", title="{DeleteUnityPhysicMaterial}", year="2019", howpublished="\url{https://reference.wolfram.com/language/UnityLink/ref/DeleteUnityPhysicMaterial.html}", note=[Accessed: 13-March-2025 ]}

BibLaTeX

@online{reference.wolfram_2022_deleteunityphysicmaterial, organization={Wolfram Research}, title={DeleteUnityPhysicMaterial}, year={2019}, url={https://reference.wolfram.com/language/UnityLink/ref/DeleteUnityPhysicMaterial.html}, note=[Accessed: 13-March-2025 ]}