docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class DiffusionProfileSettings

    Class for Diffusion Profile settings

    Inheritance
    object
    Object
    ScriptableObject
    DiffusionProfileSettings
    Implements
    IVersionable<DiffusionProfileSettings.Version>
    Inherited Members
    ScriptableObject.SetDirty()
    ScriptableObject.CreateInstance(string)
    ScriptableObject.CreateInstance(Type)
    ScriptableObject.CreateInstance<T>()
    Object.GetInstanceID()
    Object.GetHashCode()
    Object.Equals(object)
    Object.InstantiateAsync<T>(T)
    Object.InstantiateAsync<T>(T, Transform)
    Object.InstantiateAsync<T>(T, Vector3, Quaternion)
    Object.InstantiateAsync<T>(T, Transform, Vector3, Quaternion)
    Object.InstantiateAsync<T>(T, int)
    Object.InstantiateAsync<T>(T, int, Transform)
    Object.InstantiateAsync<T>(T, int, Vector3, Quaternion)
    Object.InstantiateAsync<T>(T, int, ReadOnlySpan<Vector3>, ReadOnlySpan<Quaternion>)
    Object.InstantiateAsync<T>(T, int, Transform, Vector3, Quaternion)
    Object.InstantiateAsync<T>(T, int, Transform, Vector3, Quaternion, CancellationToken)
    Object.InstantiateAsync<T>(T, int, Transform, ReadOnlySpan<Vector3>, ReadOnlySpan<Quaternion>)
    Object.InstantiateAsync<T>(T, int, Transform, ReadOnlySpan<Vector3>, ReadOnlySpan<Quaternion>, CancellationToken)
    Object.Instantiate(Object, Vector3, Quaternion)
    Object.Instantiate(Object, Vector3, Quaternion, Transform)
    Object.Instantiate(Object)
    Object.Instantiate(Object, Scene)
    Object.Instantiate(Object, Transform)
    Object.Instantiate(Object, Transform, bool)
    Object.Instantiate<T>(T)
    Object.Instantiate<T>(T, Vector3, Quaternion)
    Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
    Object.Instantiate<T>(T, Transform)
    Object.Instantiate<T>(T, Transform, bool)
    Object.Destroy(Object, float)
    Object.Destroy(Object)
    Object.DestroyImmediate(Object, bool)
    Object.DestroyImmediate(Object)
    Object.FindObjectsOfType(Type)
    Object.FindObjectsOfType(Type, bool)
    Object.FindObjectsByType(Type, FindObjectsSortMode)
    Object.FindObjectsByType(Type, FindObjectsInactive, FindObjectsSortMode)
    Object.DontDestroyOnLoad(Object)
    Object.DestroyObject(Object, float)
    Object.DestroyObject(Object)
    Object.FindSceneObjectsOfType(Type)
    Object.FindObjectsOfTypeIncludingAssets(Type)
    Object.FindObjectsOfType<T>()
    Object.FindObjectsByType<T>(FindObjectsSortMode)
    Object.FindObjectsOfType<T>(bool)
    Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
    Object.FindObjectOfType<T>()
    Object.FindObjectOfType<T>(bool)
    Object.FindFirstObjectByType<T>()
    Object.FindAnyObjectByType<T>()
    Object.FindFirstObjectByType<T>(FindObjectsInactive)
    Object.FindAnyObjectByType<T>(FindObjectsInactive)
    Object.FindObjectsOfTypeAll(Type)
    Object.FindObjectOfType(Type)
    Object.FindFirstObjectByType(Type)
    Object.FindAnyObjectByType(Type)
    Object.FindObjectOfType(Type, bool)
    Object.FindFirstObjectByType(Type, FindObjectsInactive)
    Object.FindAnyObjectByType(Type, FindObjectsInactive)
    Object.ToString()
    Object.name
    Object.hideFlags
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: UnityEngine.Rendering.HighDefinition
    Assembly: Unity.RenderPipelines.HighDefinition.Runtime.dll
    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
    float

    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
    float

    lobeMix

    Amount of mixing between the primary and secondary specular lobes.

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

    maximumRadius

    Effective radius of the filter (in millimeters).

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

    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
    float

    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
    float

    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
    float

    Methods

    TryToUpgrade()

    Declaration
    public void TryToUpgrade()

    UpgradeMaterial(Material, DiffusionProfileSettings)

    Declaration
    public static void UpgradeMaterial(Material mat, DiffusionProfileSettings mainProfile)
    Parameters
    Type Name Description
    Material mat
    DiffusionProfileSettings mainProfile

    Implements

    IVersionable<TVersion>
    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)