Class HableCurve
Inheritance
System.Object
HableCurve
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: UnityEngine.Rendering.PostProcessing
Syntax
public class HableCurve
Constructors
HableCurve()
Declaration
public HableCurve()
Fields
segments
Declaration
public readonly HableCurve.Segment[] segments
Field Value
Type | Description |
---|---|
HableCurve.Segment[] |
uniforms
Declaration
public readonly HableCurve.Uniforms uniforms
Field Value
Type | Description |
---|---|
HableCurve.Uniforms |
Properties
inverseWhitePoint
Declaration
public float inverseWhitePoint { get; }
Property Value
Type | Description |
---|---|
System.Single |
whitePoint
Declaration
public float whitePoint { get; }
Property Value
Type | Description |
---|---|
System.Single |
x0
Declaration
public float x0 { get; }
Property Value
Type | Description |
---|---|
System.Single |
x1
Declaration
public float x1 { get; }
Property Value
Type | Description |
---|---|
System.Single |
Methods
Eval(Single)
Declaration
public float Eval(float x)
Parameters
Type | Name | Description |
---|---|---|
System.Single | x |
Returns
Type | Description |
---|---|
System.Single |
Init(Single, Single, Single, Single, Single, Single)
Declaration
public void Init(float toeStrength, float toeLength, float shoulderStrength, float shoulderLength, float shoulderAngle, float gamma)
Parameters
Type | Name | Description |
---|---|---|
System.Single | toeStrength | |
System.Single | toeLength | |
System.Single | shoulderStrength | |
System.Single | shoulderLength | |
System.Single | shoulderAngle | |
System.Single | gamma |