docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Init

    Init(float, float, float, float, float, float)

    Initializes the curve.

    Declaration
    public void Init(float toeStrength, float toeLength, float shoulderStrength, float shoulderLength, float shoulderAngle, float gamma)
    Parameters
    Type Name Description
    float toeStrength

    The strength of the transition between the curve's toe and the curve's mid-section. A value of 0 results in no transition and a value of 1 results in a very hard transition.

    float toeLength

    The length of the curve's toe. Higher values result in longer toes and therefore contain more of the dynamic range.

    float shoulderStrength

    The strength of the transition between the curve's midsection and the curve's shoulder. A value of 0 results in no transition and a value of 1 results in a very hard transition.

    float shoulderLength

    The amount of f-stops to add to the dynamic range of the curve. This is how much of the highlights that the curve takes into account.

    float shoulderAngle

    How much overshoot to add to the curve's shoulder.

    float gamma

    A gamma correction to the entire curve.

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)