Struct AxF.SurfaceData | High Definition RP | 6.7.1-preview
docs.unity3d.com
    Show / Hide Table of Contents

    Struct AxF.SurfaceData

    Namespace: UnityEngine.Experimental.Rendering.HDPipeline
    Syntax
    [GenerateHLSL(PackingRules.Exact, false, false, true, 1200, false, false)]
    public struct SurfaceData

    Fields

    anisotropyAngle

    Declaration
    [SurfaceDataAttributes("Anisotropic Angle", false, false)]
    public float anisotropyAngle
    Field Value
    Type Description
    Single

    clearcoatColor

    Declaration
    [SurfaceDataAttributes("Clearcoat Color", false, false)]
    public Vector3 clearcoatColor
    Field Value
    Type Description
    Vector3

    clearcoatIOR

    Declaration
    [SurfaceDataAttributes("Clearcoat IOR", false, false)]
    public float clearcoatIOR
    Field Value
    Type Description
    Single

    clearcoatNormalWS

    Declaration
    [SurfaceDataAttributes("Clearcoat Normal", true, false)]
    public Vector3 clearcoatNormalWS
    Field Value
    Type Description
    Vector3

    diffuseColor

    Declaration
    [MaterialSharedPropertyMapping(MaterialSharedProperty.Albedo)]
    [SurfaceDataAttributes("Diffuse Color", false, true)]
    public Vector3 diffuseColor
    Field Value
    Type Description
    Vector3

    flakesMipLevel

    Declaration
    [SurfaceDataAttributes("Flakes Mip", false, false)]
    public float flakesMipLevel
    Field Value
    Type Description
    Single

    flakesUV

    Declaration
    [SurfaceDataAttributes("Flakes UV", false, false)]
    public Vector2 flakesUV
    Field Value
    Type Description
    Vector2

    fresnelF0

    Declaration
    [SurfaceDataAttributes("Fresnel F0", false, false)]
    public Vector3 fresnelF0
    Field Value
    Type Description
    Vector3

    geomNormalWS

    Declaration
    [SurfaceDataAttributes(new string[]{"Geometric Normal", "Geometric Normal View Space"}, true, false)]
    public Vector3 geomNormalWS
    Field Value
    Type Description
    Vector3

    height_mm

    Declaration
    [SurfaceDataAttributes("Height", false, false)]
    public float height_mm
    Field Value
    Type Description
    Single

    normalWS

    Declaration
    [MaterialSharedPropertyMapping(MaterialSharedProperty.Normal)]
    [SurfaceDataAttributes(new string[]{"Normal", "Normal View Space"}, true, false)]
    public Vector3 normalWS
    Field Value
    Type Description
    Vector3

    specularColor

    Declaration
    [MaterialSharedPropertyMapping(MaterialSharedProperty.Specular)]
    [SurfaceDataAttributes("Specular Color", false, true)]
    public Vector3 specularColor
    Field Value
    Type Description
    Vector3

    specularLobe

    Declaration
    [SurfaceDataAttributes("Specular Lobe", false, false)]
    public Vector2 specularLobe
    Field Value
    Type Description
    Vector2

    tangentWS

    Declaration
    [SurfaceDataAttributes("Tangent", true, false)]
    public Vector3 tangentWS
    Field Value
    Type Description
    Vector3
    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