docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class NumberMetadata

    A class which can be used as a filter for searching for metadata by number value.

    Inheritance
    object
    Metadata
    NumberMetadata
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.AssetManager.Editor
    Assembly: Unity.AssetManager.Core.Editor.dll
    Syntax
    [Serializable]
    public sealed class NumberMetadata : Metadata

    Constructors

    NumberMetadata(double)

    Creates a new instance of the NumberMetadata class.

    Declaration
    public NumberMetadata(double value)
    Parameters
    Type Name Description
    double value

    The searchable value of a number metadata. This must exactly match the number value.

    Examples

    Given a number value of 123, the number value must be 123.
    Given a number value of 123.45, the number value must be 123.45.

    Properties

    Value

    The searchable value of a number metadata. This must exactly match the number value.

    Declaration
    public double Value { get; }
    Property Value
    Type Description
    double
    Examples

    Given a number value of 123, the number value must be 123.
    Given a number value of 123.45, the number value must be 123.45.

    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)