docs.unity3d.com
    Show / Hide Table of Contents

    Class Sheen

    This extension defines a sheen that can be layered on top of an existing glTF material definition. A sheen layer is a common technique used in Physically-Based Rendering to represent cloth and fabric materials, for example. https://github.com/KhronosGroup/glTF/tree/main/extensions/2.0/Khronos/KHR_materials_sheen

    Inheritance
    Object
    Sheen
    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 Sheen

    Fields

    sheenColorFactor

    The sheen color red, green and blue components in linear space.

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

    sheenColorTexture

    The sheen color texture.

    Declaration
    public TextureInfo sheenColorTexture
    Field Value
    Type Description
    TextureInfo

    sheenRoughnessFactor

    The sheen roughness.

    Declaration
    public float sheenRoughnessFactor
    Field Value
    Type Description
    Single

    sheenRoughnessTexture

    The sheen roughness (Alpha) texture.

    Declaration
    public TextureInfo sheenRoughnessTexture
    Field Value
    Type Description
    TextureInfo

    Properties

    SheenColor

    The sheen color in linear space.

    Declaration
    public Color SheenColor { 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