docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class DiffusionProfileSettingsParameter

    A UnityEngine.Rendering.VolumeParameter that holds a DiffusionProfileSettings value.

    Inheritance
    object
    VolumeParameter
    VolumeParameter<DiffusionProfileSettings[]>
    DiffusionProfileSettingsParameter
    Implements
    ICloneable
    IEquatable<VolumeParameter<DiffusionProfileSettings[]>>
    Inherited Members
    VolumeParameter<DiffusionProfileSettings[]>.value
    VolumeParameter<DiffusionProfileSettings[]>.Interp(DiffusionProfileSettings[], DiffusionProfileSettings[], float)
    VolumeParameter<DiffusionProfileSettings[]>.Override(DiffusionProfileSettings[])
    VolumeParameter<DiffusionProfileSettings[]>.SetValue(VolumeParameter)
    VolumeParameter<DiffusionProfileSettings[]>.GetHashCode()
    VolumeParameter<DiffusionProfileSettings[]>.ToString()
    VolumeParameter<DiffusionProfileSettings[]>.Equals(VolumeParameter<DiffusionProfileSettings[]>)
    VolumeParameter<DiffusionProfileSettings[]>.Equals(object)
    VolumeParameter<DiffusionProfileSettings[]>.Clone()
    VolumeParameter.k_DebuggerDisplay
    VolumeParameter.overrideState
    VolumeParameter.GetValue<T>()
    VolumeParameter.IsObjectParameter(Type)
    VolumeParameter.Clone()
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.Rendering.HighDefinition
    Assembly: Unity.RenderPipelines.HighDefinition.Runtime.dll
    Syntax
    [Serializable]
    public sealed class DiffusionProfileSettingsParameter : VolumeParameter<DiffusionProfileSettings[]>, ICloneable, IEquatable<VolumeParameter<DiffusionProfileSettings[]>>

    Constructors

    DiffusionProfileSettingsParameter(DiffusionProfileSettings[], bool)

    Creates a new DiffusionProfileSettingsParameter instance.

    Declaration
    public DiffusionProfileSettingsParameter(DiffusionProfileSettings[] value, bool overrideState = true)
    Parameters
    Type Name Description
    DiffusionProfileSettings[] value

    The initial value to store in the parameter.

    bool overrideState

    The initial override state for the parameter.

    Methods

    Interp(DiffusionProfileSettings[], DiffusionProfileSettings[], float)

    Interpolates two values using a factor t.

    Declaration
    public override void Interp(DiffusionProfileSettings[] from, DiffusionProfileSettings[] to, float t)
    Parameters
    Type Name Description
    DiffusionProfileSettings[] from

    The start value.

    DiffusionProfileSettings[] to

    The end value.

    float t

    The interpolation factor in range [0,1].

    Overrides
    VolumeParameter<DiffusionProfileSettings[]>.Interp(DiffusionProfileSettings[], DiffusionProfileSettings[], float)
    Remarks

    By default, this method does a "snap" interpolation, meaning it returns the value to if t is higher than 0, and from otherwise.

    Release()

    Override this method to free all allocated resources

    Declaration
    public override void Release()
    Overrides
    UnityEngine.Rendering.VolumeParameter.Release()

    SetValue(VolumeParameter)

    Sets the value of this parameter to the value in parameter. Implemented explicitly for DiffusionProfileList because we have internal state to copy.

    Declaration
    public override void SetValue(VolumeParameter parameter)
    Parameters
    Type Name Description
    VolumeParameter parameter

    The UnityEngine.Rendering.VolumeParameter to copy the value from.

    Overrides
    UnityEngine.Rendering.VolumeParameter<UnityEngine.Rendering.HighDefinition.DiffusionProfileSettings[]>.SetValue(UnityEngine.Rendering.VolumeParameter)

    Implements

    ICloneable
    IEquatable<T>
    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)