UnityRectMask2D
represents a Unity 2D rect mask.
Details
- UnityRectMask2D
is a object that represents an existing RectMask2D object in the Unity game engine.
- UnityRectMask2D
is typically generated by functions such as CreateUnityRectMask2D.
- UnityRectMask2D
gives a list of possible properties.
- The value associated with a given property "prop" can be extracted using UnityRectMask2D
.
- You can make an assignment like UnityRectMask2D
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/0ejji9zcx9pl7cdcnif2ofdpr-i9rs1

https://wolfram.com/xid/0ejji9zcx9pl7cdcnif2ofdpr-ejzug9

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


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

Delete the Unity 2D rect mask:

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

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


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

PropertyList returns all available properties of the 2D rect mask.

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


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

PropertyValue returns the value of the specified property.

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


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

SetProperty changes the specified property of the 2D rect mask.

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


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

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

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