UnityPhysicsRaycaster
represents a Unity physics raycaster.
Details
- UnityPhysicsRaycaster
is a object that represents an existing PhysicsRaycaster object in the Unity game engine.
- UnityPhysicsRaycaster
is typically generated by functions such as CreateUnityPhysicsRaycaster
- UnityPhysicsRaycaster
gives a list of possible properties.
- The value associated with a given property "prop" can be extracted using UnityPhysicsRaycaster
.
- You can make an assignment like UnityPhysicsRaycaster
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/0l8t1rnk95pjwzedtsu8e3703ge2-i9rs1

https://wolfram.com/xid/0l8t1rnk95pjwzedtsu8e3703ge2-ejzug9
Create a Unity physics raycaster:

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


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

Delete the Unity physics raycaster:

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

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


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

PropertyList returns all available properties of the physics raycaster.

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


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

PropertyValue returns the value of the specified property.

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


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

SetProperty changes the specified property of the physics raycaster.

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


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

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

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