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).

    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[]
    See Also
    https://github.com/KhronosGroup/glTF/tree/main/extensions/2.0/Archived/KHR_materials_pbrSpecularGlossiness

    diffuseTexture

    Diffuse color texture info.

    Declaration
    public TextureInfo diffuseTexture
    Field Value
    Type Description
    TextureInfo
    See Also
    https://github.com/KhronosGroup/glTF/tree/main/extensions/2.0/Archived/KHR_materials_pbrSpecularGlossiness

    glossinessFactor

    The glossiness or smoothness of the material.

    Declaration
    public float glossinessFactor
    Field Value
    Type Description
    float
    See Also
    https://github.com/KhronosGroup/glTF/tree/main/extensions/2.0/Archived/KHR_materials_pbrSpecularGlossiness

    specularFactor

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

    Declaration
    public float[] specularFactor
    Field Value
    Type Description
    float[]
    See Also
    https://github.com/KhronosGroup/glTF/tree/main/extensions/2.0/Archived/KHR_materials_pbrSpecularGlossiness

    specularGlossinessTexture

    The specular-glossiness texture.

    Declaration
    public TextureInfo specularGlossinessTexture
    Field Value
    Type Description
    TextureInfo
    See Also
    https://github.com/KhronosGroup/glTF/tree/main/extensions/2.0/Archived/KHR_materials_pbrSpecularGlossiness

    Properties

    DiffuseColor

    Diffuse color in linear space.

    Declaration
    public Color DiffuseColor { get; }
    Property Value
    Type Description
    Color
    See Also
    https://github.com/KhronosGroup/glTF/tree/main/extensions/2.0/Archived/KHR_materials_pbrSpecularGlossiness

    SpecularColor

    Specular color in linear space.

    Declaration
    public Color SpecularColor { get; }
    Property Value
    Type Description
    Color
    See Also
    https://github.com/KhronosGroup/glTF/tree/main/extensions/2.0/Archived/KHR_materials_pbrSpecularGlossiness

    See Also

    https://github.com/KhronosGroup/glTF/tree/main/extensions/2.0/Archived/KHR_materials_pbrSpecularGlossiness
    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)