docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class PbrMetallicRoughnessBase<TTextureInfo>

    A set of parameter values that are used to define the metallic-roughness material model from Physically-Based Rendering (PBR) methodology.

    Inheritance
    object
    PbrMetallicRoughnessBase
    PbrMetallicRoughnessBase<TTextureInfo>
    PbrMetallicRoughness
    PbrMetallicRoughness
    Inherited Members
    PbrMetallicRoughnessBase.baseColorFactor
    PbrMetallicRoughnessBase.BaseColor
    PbrMetallicRoughnessBase.metallicFactor
    PbrMetallicRoughnessBase.roughnessFactor
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: GLTFast.Schema
    Assembly: solution.dll
    Syntax
    [Serializable]
    public abstract class PbrMetallicRoughnessBase<TTextureInfo> : PbrMetallicRoughnessBase where TTextureInfo : TextureInfoBase
    Type Parameters
    Name Description
    TTextureInfo

    textureInfo type

    Fields

    baseColorTexture

    The base color texture. This texture contains RGB(A) components in sRGB color space. The first three components (RGB) specify the base color of the material. If the fourth component (A) is present, it represents the opacity of the material. Otherwise, an opacity of 1.0 is assumed.

    Declaration
    public TTextureInfo baseColorTexture
    Field Value
    Type Description
    TTextureInfo

    metallicRoughnessTexture

    The metallic-roughness texture has two components. The first component (R) contains the metallic-ness of the material. The second component (G) contains the roughness of the material. These values are linear. If the third component (B) and/or the fourth component (A) are present, they are ignored.

    Declaration
    public TTextureInfo metallicRoughnessTexture
    Field Value
    Type Description
    TTextureInfo

    Properties

    BaseColorTexture

    The base color texture. This texture contains RGB(A) components in sRGB color space. The first three components (RGB) specify the base color of the material. If the fourth component (A) is present, it represents the opacity of the material. Otherwise, an opacity of 1.0 is assumed.

    Declaration
    public override TextureInfoBase BaseColorTexture { get; }
    Property Value
    Type Description
    TextureInfoBase
    Overrides
    PbrMetallicRoughnessBase.BaseColorTexture

    MetallicRoughnessTexture

    The metallic-roughness texture has two components. The first component (R) contains the metallic-ness of the material. The second component (G) contains the roughness of the material. These values are linear. If the third component (B) and/or the fourth component (A) are present, they are ignored.

    Declaration
    public override TextureInfoBase MetallicRoughnessTexture { get; }
    Property Value
    Type Description
    TextureInfoBase
    Overrides
    PbrMetallicRoughnessBase.MetallicRoughnessTexture
    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)