docs.unity.cn
    Show / Hide Table of Contents

    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.
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on 12 June 2023