Class DiffusionProfileSettingsParameter
A UnityEngine.Rendering.VolumeParameter that holds a DiffusionProfileSettings value.
Inheritance
VolumeParameter
VolumeParameter<DiffusionProfileSettings[]>
DiffusionProfileSettingsParameter
Inherited Members
VolumeParameter<DiffusionProfileSettings[]>.value
VolumeParameter<DiffusionProfileSettings[]>.Override(DiffusionProfileSettings[])
VolumeParameter<DiffusionProfileSettings[]>.SetValue(VolumeParameter)
VolumeParameter<DiffusionProfileSettings[]>.GetHashCode()
VolumeParameter<DiffusionProfileSettings[]>.ToString()
VolumeParameter<DiffusionProfileSettings[]>.Equals(VolumeParameter<DiffusionProfileSettings[]>)
VolumeParameter<DiffusionProfileSettings[]>.Clone()
VolumeParameter.k_DebuggerDisplay
VolumeParameter.overrideState
VolumeParameter.GetValue<T>()
VolumeParameter.SetValue(VolumeParameter)
VolumeParameter.Clone()
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
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()