docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class HableCurve.Segment

    Individual curve segment.

    Inheritance
    object
    HableCurve.Segment
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.Rendering
    Assembly: Unity.RenderPipelines.Core.Runtime.dll
    Syntax
    public class HableCurve.Segment

    Fields

    B

    B constant in the power curve y = e^(ln(A) + B*ln(x)).

    Declaration
    public float B
    Field Value
    Type Description
    float

    lnA

    ln(A) constant in the power curve y = e^(ln(A) + B*ln(x)).

    Declaration
    public float lnA
    Field Value
    Type Description
    float

    offsetX

    The offset of the segment on the X axis.

    Declaration
    public float offsetX
    Field Value
    Type Description
    float

    offsetY

    The offset of the segment on the Y axis.

    Declaration
    public float offsetY
    Field Value
    Type Description
    float

    scaleX

    The scale of the segment on the X axis.

    Declaration
    public float scaleX
    Field Value
    Type Description
    float

    scaleY

    The scale of the segment on the Y axis.

    Declaration
    public float scaleY
    Field Value
    Type Description
    float

    Methods

    Eval(float)

    Evaluate a point on the curve.

    Declaration
    public float Eval(float x)
    Parameters
    Type Name Description
    float x

    The point to evaluate.

    Returns
    Type Description
    float

    The value of the curve, at the point specified.

    Extension Methods

    ReflectionUtils.GetField(object, string)
    ReflectionUtils.GetFields(object)
    ReflectionUtils.Invoke(object, string, params object[])
    ReflectionUtils.SetField(object, string, object)
    AnalyticsUtils.ToNestedColumnWithDefault<T>(T, T, bool)
    AnalyticsUtils.ToNestedColumn<T>(T, bool)
    AnalyticsUtils.ToNestedColumn<T>(T, 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)