docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Raycast

    Raycast<TProcessor, TCollector>(RaycastInput, ref TProcessor, ref TCollector)

    Declaration
    public bool Raycast<TProcessor, TCollector>(RaycastInput input, ref TProcessor leafProcessor, ref TCollector collector) where TProcessor : struct, BoundingVolumeHierarchy.IRaycastLeafProcessor where TCollector : struct, ICollector<RaycastHit>
    Parameters
    Type Name Description
    RaycastInput input
    TProcessor leafProcessor
    TCollector collector
    Returns
    Type Description
    bool
    Type Parameters
    Name Description
    TProcessor
    TCollector
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)