UnityPhysicsMaterial2D[data]
represents a Unity physics material 2D component.
UnityPhysicsMaterial2D
UnityPhysicsMaterial2D[data]
represents a Unity physics material 2D component.
Examples
open all close allBasic Examples (2)
To use UnityLink, you need first to load the package:
Create a UnityPhysicMaterial:
Set the physics 2D material of a 2D collider using UnityPhysicsMaterial2D:
Find the UnityPhysicsMaterial2D of a collider:
Properties & Relations (5)
UnityPhysicsMaterial2DQ checks if an expression is a UnityPhysicsMaterial2D:
PropertyList returns all available properties of the material.
PropertyValue returns the value of the specified property.
SetProperty changes the properties of a UnityPhysicsMaterial2D:
Text
Wolfram Research (2019), UnityPhysicsMaterial2D, Wolfram Language function, https://reference.wolfram.com/language/UnityLink/ref/UnityPhysicsMaterial2D.html.
CMS
Wolfram Language. 2019. "UnityPhysicsMaterial2D." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/UnityLink/ref/UnityPhysicsMaterial2D.html.
APA
Wolfram Language. (2019). UnityPhysicsMaterial2D. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/UnityLink/ref/UnityPhysicsMaterial2D.html
BibTeX
@misc{reference.wolfram_2025_unityphysicsmaterial2d, author="Wolfram Research", title="{UnityPhysicsMaterial2D}", year="2019", howpublished="\url{https://reference.wolfram.com/language/UnityLink/ref/UnityPhysicsMaterial2D.html}", note=[Accessed: 18-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_unityphysicsmaterial2d, organization={Wolfram Research}, title={UnityPhysicsMaterial2D}, year={2019}, url={https://reference.wolfram.com/language/UnityLink/ref/UnityPhysicsMaterial2D.html}, note=[Accessed: 18-August-2025]}