docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct UsdMaterialDescription

    Describes the parameters of a specific material.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Unity.Importer.USD
    Assembly: Unity.Importer.USD.dll
    Syntax
    public struct UsdMaterialDescription

    Fields

    clearCoatMaskTextureSampler

    The texture sampler data for the clearcoat mask texture.

    Declaration
    public TextureSamplerSettings clearCoatMaskTextureSampler
    Field Value
    Type Description
    TextureSamplerSettings

    clearCoatRoughnessTextureSampler

    The texture sampler data for the clearcoat roughness texture.

    Declaration
    public TextureSamplerSettings clearCoatRoughnessTextureSampler
    Field Value
    Type Description
    TextureSamplerSettings

    clearcoat

    Clear-coat mask of the material.

    Declaration
    public float clearcoat
    Field Value
    Type Description
    float

    clearcoatRoughness

    Clear-coat roughness of the material.

    Declaration
    public float clearcoatRoughness
    Field Value
    Type Description
    float

    diffuseColor

    Diffuse Color of the material.

    Declaration
    public Color diffuseColor
    Field Value
    Type Description
    Color

    diffusePrimvarName

    The primvar name of diffuse color. Null if no primvar is connected to diffuse color.

    Declaration
    public string diffusePrimvarName
    Field Value
    Type Description
    string

    diffuseTextureSampler

    The texture sampler data for the diffuse texture.

    Declaration
    public TextureSamplerSettings diffuseTextureSampler
    Field Value
    Type Description
    TextureSamplerSettings

    displacementTextureSampler

    The texture sampler data for the displacement texture.

    Declaration
    public TextureSamplerSettings displacementTextureSampler
    Field Value
    Type Description
    TextureSamplerSettings

    emissiveColor

    Emissive Color of the material.

    Declaration
    public Color emissiveColor
    Field Value
    Type Description
    Color

    emissiveColorTextureSampler

    The texture sampler data for the emissive color texture.

    Declaration
    public TextureSamplerSettings emissiveColorTextureSampler
    Field Value
    Type Description
    TextureSamplerSettings

    emissivePrimvarName

    The primvar name of emissive color. Null if no primvar is connected to emissive color.

    Declaration
    public string emissivePrimvarName
    Field Value
    Type Description
    string

    metallic

    Metallic factor of the material.

    Declaration
    public float metallic
    Field Value
    Type Description
    float

    metallicTextureSampler

    The texture sampler data for the metallic texture.

    Declaration
    public TextureSamplerSettings metallicTextureSampler
    Field Value
    Type Description
    TextureSamplerSettings

    name

    Name of the material.

    Declaration
    public string name
    Field Value
    Type Description
    string

    normalTextureSampler

    The texture sampler data for the normal map texture.

    Declaration
    public TextureSamplerSettings normalTextureSampler
    Field Value
    Type Description
    TextureSamplerSettings

    occlusionTextureSampler

    The texture sampler data for the occlusion texture.

    Declaration
    public TextureSamplerSettings occlusionTextureSampler
    Field Value
    Type Description
    TextureSamplerSettings

    opacity

    Opacity of the material.

    Declaration
    public float opacity
    Field Value
    Type Description
    float

    opacityTextureSampler

    The texture sampler data for the opacity texture.

    Declaration
    public TextureSamplerSettings opacityTextureSampler
    Field Value
    Type Description
    TextureSamplerSettings

    opacityThreshold

    Opacity threshold of the material used for alpha clipping, a value of 0 indicates that no alpha clipping is required

    Declaration
    public float opacityThreshold
    Field Value
    Type Description
    float

    roughness

    Roughness of the material.

    Declaration
    public float roughness
    Field Value
    Type Description
    float

    roughnessTextureSampler

    The texture sampler data for the roughness texture.

    Declaration
    public TextureSamplerSettings roughnessTextureSampler
    Field Value
    Type Description
    TextureSamplerSettings

    specularColor

    Specular Color of the material.

    Declaration
    public Color specularColor
    Field Value
    Type Description
    Color

    specularColorTextureSampler

    The texture sampler data for the specular color texture.

    Declaration
    public TextureSamplerSettings specularColorTextureSampler
    Field Value
    Type Description
    TextureSamplerSettings

    specularPrimvarName

    The primvar name of specular color. Null if no primvar is connected to specular color.

    Declaration
    public string specularPrimvarName
    Field Value
    Type Description
    string

    useSpecularWorkflow

    1 if material uses specular workflow, 0 if material uses metallic workflow

    Declaration
    public int useSpecularWorkflow
    Field Value
    Type Description
    int
    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)