Class DiffusionProfileSettings
Class for Diffusion Profile settings
Inherited Members
UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
Namespace: UnityEngine.Rendering.HighDefinition
Syntax
public sealed class DiffusionProfileSettings : ScriptableObject, IVersionable<DiffusionProfileSettings.Version>
Properties
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 |
maximumRadius
Effective radius of the filter (in millimeters).
Declaration
public float maximumRadius { get; }
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 |
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 |