docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method CastRay

    CastRay<T>(RaycastInput, NativeArray<PhysicsBody>, ref T)

    Declaration
    public bool CastRay<T>(RaycastInput input, NativeArray<PhysicsBody> rigidBodies, ref T collector) where T : struct, ICollector<RaycastHit>
    Parameters
    Type Name Description
    RaycastInput input
    NativeArray<PhysicsBody> rigidBodies
    T collector
    Returns
    Type Description
    bool
    Type Parameters
    Name Description
    T
    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)