docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct AssetCacheConfiguration

    Sets the cache configuration for an asset.

    Inherited Members
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Unity.Cloud.Assets
    Assembly: Unity.Cloud.Assets.dll
    Syntax
    public struct AssetCacheConfiguration

    Properties

    CacheDatasetList

    Whether to cache the list of datasets of the asset.

    Declaration
    public bool CacheDatasetList { readonly get; set; }
    Property Value
    Type Description
    bool

    CacheMetadata

    Whether to cache the metadata of the asset.

    Declaration
    public bool CacheMetadata { readonly get; set; }
    Property Value
    Type Description
    bool

    CacheMetadataFieldKeys

    Which subset of metadata field keys to cache. Will apply to Asset, Dataset, and File Metadata.

    Declaration
    public IEnumerable<string> CacheMetadataFieldKeys { readonly get; set; }
    Property Value
    Type Description
    IEnumerable<string>

    CachePreviewUrl

    Whether to cache the preview URL of the asset.

    Declaration
    public bool CachePreviewUrl { readonly get; set; }
    Property Value
    Type Description
    bool

    CacheProperties

    Whether to cache the properties of the asset.

    Declaration
    public bool CacheProperties { readonly get; set; }
    Property Value
    Type Description
    bool

    CacheSystemMetadata

    Whether to cache the system metadata of the asset.

    Declaration
    public bool CacheSystemMetadata { readonly get; set; }
    Property Value
    Type Description
    bool

    CacheSystemMetadataFieldKeys

    Which subset of system metadata field keys to cache. Will apply to Asset, Dataset, and File System Metadata.

    Declaration
    public IEnumerable<string> CacheSystemMetadataFieldKeys { readonly get; set; }
    Property Value
    Type Description
    IEnumerable<string>

    DatasetCacheConfiguration

    Defines the cache configuration for datasets retrieved from the IAsset.

    Declaration
    public DatasetCacheConfiguration DatasetCacheConfiguration { readonly get; set; }
    Property Value
    Type Description
    DatasetCacheConfiguration

    NoCaching

    Declaration
    public static AssetCacheConfiguration NoCaching { get; }
    Property Value
    Type Description
    AssetCacheConfiguration

    Methods

    Equals(object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    object obj
    Returns
    Type Description
    bool
    Overrides
    ValueType.Equals(object)

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int
    Overrides
    ValueType.GetHashCode()
    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)