docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct DisplayColorMaterialDescription

    Describes the parameters of a specific material, created from displayColor/displayOpacity data.

    Implements
    IEquatable<DisplayColorMaterialDescription>
    Inherited Members
    ValueType.Equals(object)
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Unity.Importer.USD
    Assembly: Unity.Importer.USD.dll
    Syntax
    public struct DisplayColorMaterialDescription : IEquatable<DisplayColorMaterialDescription>

    Fields

    color

    The diffuse color of the material to create.

    Declaration
    public Color color
    Field Value
    Type Description
    Color

    name

    The name of the material to create.

    Declaration
    public string name
    Field Value
    Type Description
    string

    opacity

    The opacity of the material to create.

    Declaration
    public float opacity
    Field Value
    Type Description
    float

    Methods

    Equals(DisplayColorMaterialDescription)

    See documentation for <IEquatable.Equals> for more details

    Declaration
    public bool Equals(DisplayColorMaterialDescription other)
    Parameters
    Type Name Description
    DisplayColorMaterialDescription other
    Returns
    Type Description
    bool

    GetHashCode()

    See documentation for <Object.GetHashCode> for more details

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int
    Overrides
    ValueType.GetHashCode()

    Implements

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