docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class AssetReferenceQueryBuilder

    A class that builds and executes a query to return a set of references to an asset.

    Inheritance
    object
    AssetReferenceQueryBuilder
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Cloud.Assets
    Assembly: Unity.Cloud.Assets.dll
    Syntax
    public sealed class AssetReferenceQueryBuilder

    Methods

    ExecuteAsync(CancellationToken)

    Executes the query and returns the results.

    Declaration
    public IAsyncEnumerable<IAssetReference> ExecuteAsync(CancellationToken cancellationToken)
    Parameters
    Type Name Description
    CancellationToken cancellationToken

    A token that can be used to cancel the request.

    Returns
    Type Description
    IAsyncEnumerable<IAssetReference>

    An async enumeration of ITransformation.

    LimitTo(Range)

    Sets the range of results to return.

    Declaration
    public AssetReferenceQueryBuilder LimitTo(Range range)
    Parameters
    Type Name Description
    Range range

    The range of results.

    Returns
    Type Description
    AssetReferenceQueryBuilder

    The calling AssetReferenceQueryBuilder.

    SelectWhereMatchesFilter(AssetReferenceSearchFilter)

    Sets the filter to use for the query.

    Declaration
    public AssetReferenceQueryBuilder SelectWhereMatchesFilter(AssetReferenceSearchFilter searchFilter)
    Parameters
    Type Name Description
    AssetReferenceSearchFilter searchFilter

    The search criteria.

    Returns
    Type Description
    AssetReferenceQueryBuilder

    The calling AssetReferenceQueryBuilder.

    In This Article
    Back to top
    Copyright © 2025 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)