docs.unity3d.com
    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.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: GLTFast.Schema
    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
    Single[]

    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
    Single

    specularFactor

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

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

    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
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023