Version: 2023.2
Language : English
Graphic Raycaster
Physics 2D Raycaster

Physics Raycaster

The Raycaster raycasts against 3D objectsA 3D GameObject such as a cube, terrain or ragdoll. More info
See in Glossary
in the sceneA Scene contains the environments and menus of your game. Think of each unique Scene file as a unique level. In each Scene, you place your environments, obstacles, and decorations, essentially designing and building your game in pieces. More info
See in Glossary
. This allows messages to be sent to 3D physics objects that implement event interfaces.

Properties

Property: Function:
Depth Get the depth of the configured cameraA component which creates an image of a particular viewpoint in your scene. The output is either drawn to the screen or captured as a texture. More info
See in Glossary
.
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.

PhysicsRaycaster

Graphic Raycaster
Physics 2D Raycaster
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961