Rasagar/Library/PackageCache/com.unity.ugui/Documentation~/script-PhysicsRaycaster.md

13 lines
480 B
Markdown
Raw Normal View History

2024-08-26 13:07:20 -07:00
# Physics Raycaster
The Raycaster raycasts against 3D objects in the scene. This allows messages to be sent to 3D physics objects that implement event interfaces.
## Properties
|**_Property:_** |**_Function:_** |
|:---|:---|
|__Depth__ | Get the depth of the configured camera. |
|__Event Camera__ | Get the camera that is used for this module. |
|__Event Mask__ | Logical and of Camera mask and eventMask. |
|__Final Event Mask__ | Logical and of Camera mask and eventMask. |