docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class PbrSpecularGlossiness

    This extension defines the specular-glossiness material model from Physically-Based Rendering (PBR). https://github.com/KhronosGroup/glTF/tree/main/extensions/2.0/Archived/KHR_materials_pbrSpecularGlossiness

    Inheritance
    object
    PbrSpecularGlossiness
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: GLTFast.Schema
    Assembly: glTFast.dll
    Syntax
    [Serializable]
    public class PbrSpecularGlossiness

    Fields

    diffuseFactor

    Diffuse color red, green, blue and alpha components in linear space.

    Declaration
    public float[] diffuseFactor
    Field Value
    Type Description
    float[]

    diffuseTexture

    Diffuse color texture info.

    Declaration
    public TextureInfo diffuseTexture
    Field Value
    Type Description
    TextureInfo

    glossinessFactor

    The glossiness or smoothness of the material.

    Declaration
    public float glossinessFactor
    Field Value
    Type Description
    float

    specularFactor

    Specular color red, green and blue components in linear space.

    Declaration
    public float[] specularFactor
    Field Value
    Type Description
    float[]

    specularGlossinessTexture

    The specular-glossiness texture.

    Declaration
    public TextureInfo specularGlossinessTexture
    Field Value
    Type Description
    TextureInfo

    Properties

    DiffuseColor

    Diffuse color in linear space.

    Declaration
    public Color DiffuseColor { get; }
    Property Value
    Type Description
    Color

    SpecularColor

    Specular color in linear space.

    Declaration
    public Color SpecularColor { get; }
    Property Value
    Type Description
    Color
    In This Article
    Back to top
    Copyright © 2026 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)