docs.unity3d.com
    Show / Hide Table of Contents

    Interface ISpatialPicker<T>

    Namespace: Unity.Reflect.Collections
    Syntax
    [Obsolete("Please use `ISpatialPickerAsync<T>` instead.")]
    public interface ISpatialPicker<T>
    Type Parameters
    Name Description
    T

    Methods

    Pick(Single, List<T>, Transform, String[])

    Declaration
    void Pick(float distance, List<T> results, Transform origin, string[] flagsExcluded = null)
    Parameters
    Type Name Description
    Single distance
    List<T> results
    Transform origin
    String[] flagsExcluded

    Pick(Ray, List<T>, String[])

    Declaration
    void Pick(Ray ray, List<T> results, string[] flagsExcluded = null)
    Parameters
    Type Name Description
    Ray ray
    List<T> results
    String[] flagsExcluded

    Pick(Vector3[], Int32, List<T>, String[])

    Declaration
    void Pick(Vector3[] samplePoints, int samplePointCount, List<T> results, string[] flagsExcluded = null)
    Parameters
    Type Name Description
    Vector3[] samplePoints
    Int32 samplePointCount
    List<T> results
    String[] flagsExcluded

    VRPick(Ray, List<T>, String[])

    Declaration
    void VRPick(Ray ray, List<T> results, string[] flagsExcluded = null)
    Parameters
    Type Name Description
    Ray ray
    List<T> results
    String[] flagsExcluded
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023