docs.unity.cn
    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 Copyright © 2022 Unity Technologies
    Generated by DocFX
    on 03 February 2022
    Terms of use