docs.unity.cn
    Show / Hide Table of Contents

    Interface ICollector<T>

    Namespace: Unity.Physics
    Syntax
    public interface ICollector<T>
        where T : struct, IQueryResult
    Type Parameters
    Name Description
    T

    Properties

    EarlyOutOnFirstHit

    Declaration
    bool EarlyOutOnFirstHit { get; }
    Property Value
    Type Description
    Boolean

    MaxFraction

    Declaration
    float MaxFraction { get; }
    Property Value
    Type Description
    Single

    NumHits

    Declaration
    int NumHits { get; }
    Property Value
    Type Description
    Int32

    Methods

    AddHit(T)

    Declaration
    bool AddHit(T hit)
    Parameters
    Type Name Description
    T hit
    Returns
    Type Description
    Boolean
    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Tuesday, April 26, 2022
    Terms of use