docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct TransformationDescriptor

    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 readonly struct TransformationDescriptor

    Constructors

    TransformationDescriptor(DatasetDescriptor, TransformationId)

    Creates an instance of the TransformationDescriptor struct.

    Declaration
    public TransformationDescriptor(DatasetDescriptor datasetDescriptor, TransformationId transformationId)
    Parameters
    Type Name Description
    DatasetDescriptor datasetDescriptor

    The transformation's dataset descriptor.

    TransformationId transformationId

    The transformation's ID.

    Fields

    DatasetDescriptor

    The transformation's dataset descriptor.

    Declaration
    public readonly DatasetDescriptor DatasetDescriptor
    Field Value
    Type Description
    DatasetDescriptor

    TransformationId

    The transformation's ID.

    Declaration
    public readonly TransformationId TransformationId
    Field Value
    Type Description
    TransformationId

    Properties

    AssetId

    The asset's ID.

    Declaration
    public AssetId AssetId { get; }
    Property Value
    Type Description
    AssetId

    AssetVersion

    The asset's version.

    Declaration
    public AssetVersion AssetVersion { get; }
    Property Value
    Type Description
    AssetVersion

    DatasetId

    Holds information about a dataset identifier.

    Declaration
    public DatasetId DatasetId { get; }
    Property Value
    Type Description
    DatasetId

    OrganizationId

    The project's organization ID.

    Declaration
    public OrganizationId OrganizationId { get; }
    Property Value
    Type Description
    OrganizationId

    ProjectId

    The project's ID.

    Declaration
    public ProjectId ProjectId { get; }
    Property Value
    Type Description
    ProjectId

    Methods

    Equals(object)

    Validate obj is a TransformationDescriptor instance and have the same values as this instance.

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    object obj

    Compare the values with this instance.

    Returns
    Type Description
    bool

    true if both instance have the same values; false otherwise.

    Overrides
    ValueType.Equals(object)

    Equals(TransformationDescriptor)

    Returns whether two TransformationDescriptor objects are equals.

    Declaration
    public bool Equals(TransformationDescriptor other)
    Parameters
    Type Name Description
    TransformationDescriptor other

    Compare the values with this instance.

    Returns
    Type Description
    bool

    true if both instance have the same values; false otherwise.

    GetHashCode()

    Compute a hash code for the object.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int

    A hash code for the current object.

    Overrides
    ValueType.GetHashCode()
    Remarks
    • You should not assume that equal hash codes imply object equality.
    • You should never persist or use a hash code outside the application domain in which it was created, because the same object may hash differently across application domains, processes, and platforms.

    Operators

    operator ==(TransformationDescriptor, TransformationDescriptor)

    Checks whether two TransformationDescriptor are equal.

    Declaration
    public static bool operator ==(TransformationDescriptor left, TransformationDescriptor right)
    Parameters
    Type Name Description
    TransformationDescriptor left

    Compare with this first instance.

    TransformationDescriptor right

    Compare with this other instance.

    Returns
    Type Description
    bool

    true if both instances represent the same; false otherwise.

    operator !=(TransformationDescriptor, TransformationDescriptor)

    Checks whether two TransformationDescriptor aren't equal.

    Declaration
    public static bool operator !=(TransformationDescriptor left, TransformationDescriptor right)
    Parameters
    Type Name Description
    TransformationDescriptor left

    Compare with this first instance.

    TransformationDescriptor right

    Compare with this other instance.

    Returns
    Type Description
    bool

    true if both instances are not the same; false if both instances are the same.

    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)