docs.unity.cn
    Show / Hide Table of Contents

    Class DiffusionProfileSettings

    Class for Diffusion Profile settings

    Inheritance
    Object
    Object
    ScriptableObject
    DiffusionProfileSettings
    Inherited Members
    UnityEngine.ScriptableObject.SetDirty()
    ScriptableObject.CreateInstance(String)
    ScriptableObject.CreateInstance(Type)
    UnityEngine.ScriptableObject.CreateInstance<T>()
    Object.GetInstanceID()
    UnityEngine.Object.GetHashCode()
    UnityEngine.Object.Equals(System.Object)
    Object.Instantiate(Object, Vector3, Quaternion)
    Object.Instantiate(Object, Vector3, Quaternion, Transform)
    Object.Instantiate(Object)
    Object.Instantiate(Object, Transform)
    Object.Instantiate(Object, Transform, Boolean)
    UnityEngine.Object.Instantiate<T>(T)
    UnityEngine.Object.Instantiate<T>(T, UnityEngine.Vector3, UnityEngine.Quaternion)
    UnityEngine.Object.Instantiate<T>(T, UnityEngine.Vector3, UnityEngine.Quaternion, UnityEngine.Transform)
    UnityEngine.Object.Instantiate<T>(T, UnityEngine.Transform)
    UnityEngine.Object.Instantiate<T>(T, UnityEngine.Transform, System.Boolean)
    Object.Destroy(Object, Single)
    Object.Destroy(Object)
    Object.DestroyImmediate(Object, Boolean)
    Object.DestroyImmediate(Object)
    Object.FindObjectsOfType(Type)
    Object.FindObjectsOfType(Type, Boolean)
    Object.FindObjectsByType(Type, FindObjectsSortMode)
    Object.FindObjectsByType(Type, FindObjectsInactive, FindObjectsSortMode)
    Object.DontDestroyOnLoad(Object)
    UnityEngine.Object.DestroyObject(UnityEngine.Object, System.Single)
    UnityEngine.Object.DestroyObject(UnityEngine.Object)
    UnityEngine.Object.FindSceneObjectsOfType(System.Type)
    Object.FindObjectsOfTypeIncludingAssets(Type)
    UnityEngine.Object.FindObjectsOfType<T>()
    UnityEngine.Object.FindObjectsByType<T>(UnityEngine.FindObjectsSortMode)
    UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
    UnityEngine.Object.FindObjectsByType<T>(UnityEngine.FindObjectsInactive, UnityEngine.FindObjectsSortMode)
    UnityEngine.Object.FindObjectOfType<T>()
    UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
    UnityEngine.Object.FindFirstObjectByType<T>()
    UnityEngine.Object.FindAnyObjectByType<T>()
    UnityEngine.Object.FindFirstObjectByType<T>(UnityEngine.FindObjectsInactive)
    UnityEngine.Object.FindAnyObjectByType<T>(UnityEngine.FindObjectsInactive)
    Object.FindObjectsOfTypeAll(Type)
    Object.FindObjectOfType(Type)
    Object.FindFirstObjectByType(Type)
    Object.FindAnyObjectByType(Type)
    Object.FindObjectOfType(Type, Boolean)
    Object.FindFirstObjectByType(Type, FindObjectsInactive)
    Object.FindAnyObjectByType(Type, FindObjectsInactive)
    Object.ToString()
    Object.name
    Object.hideFlags
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: UnityEngine.Rendering.HighDefinition
    Syntax
    [Icon("Packages/com.unity.render-pipelines.high-definition/Editor/Icons/Processed/DiffusionProfile Icon.asset")]
    public sealed class DiffusionProfileSettings : ScriptableObject, IVersionable<DiffusionProfileSettings.Version>

    Properties

    diffuseShadingPower

    Exponent on the cosine component of the diffuse lobe.\nHelps to simulate non lambertian surfaces.

    Declaration
    public float diffuseShadingPower { get; set; }
    Property Value
    Type Description
    Single

    indexOfRefraction

    Index of refraction. For reference, skin is 1.4 and most materials are between 1.3 and 1.5.

    Declaration
    public float indexOfRefraction { get; set; }
    Property Value
    Type Description
    Single

    lobeMix

    Amount of mixing between the primary and secondary specular lobes.

    Declaration
    public float lobeMix { get; set; }
    Property Value
    Type Description
    Single

    maximumRadius

    Effective radius of the filter (in millimeters).

    Declaration
    public float maximumRadius { get; }
    Property Value
    Type Description
    Single

    primarySmoothnessMultiplier

    Multiplier for the primary specular lobe. This multiplier is clamped between 1 and 2.

    Declaration
    public float primarySmoothnessMultiplier { get; set; }
    Property Value
    Type Description
    Single

    scatteringDistance

    Scattering distance. Determines the shape of the profile, and the blur radius of the filter per color channel. Alpha is ignored.

    Declaration
    public Color scatteringDistance { get; set; }
    Property Value
    Type Description
    Color

    secondarySmoothnessMultiplier

    Multiplier for the secondary specular lobe. This multiplier is clamped between 0 and 1.

    Declaration
    public float secondarySmoothnessMultiplier { get; set; }
    Property Value
    Type Description
    Single

    transmissionTint

    Color which tints transmitted light. Alpha is ignored.

    Declaration
    public Color transmissionTint { get; set; }
    Property Value
    Type Description
    Color

    worldScale

    Size of the world unit in meters.

    Declaration
    public float worldScale { get; set; }
    Property Value
    Type Description
    Single

    Explicit Interface Implementations

    IVersionable<DiffusionProfileSettings.Version>.version

    Declaration
    DiffusionProfileSettings.Version IVersionable<DiffusionProfileSettings.Version>.version { get; set; }
    Returns
    Type Description
    UnityEngine.Rendering.HighDefinition.DiffusionProfileSettings.Version
    Implements
    IVersionable<TVersion>.version
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on 17 July 2023