docs.unity.cn
    Show / Hide Table of Contents

    Class HableCurve.Uniforms

    Utility class to retrieve curve values for shader evaluation.

    Inheritance
    Object
    HableCurve.Uniforms
    Namespace: UnityEngine.Rendering.PostProcessing
    Syntax
    public class Uniforms : object

    Properties

    curve

    A pre-built holding: (inverseWhitePoint, x0, x1, 0).

    Declaration
    public Vector4 curve { get; }
    Property Value
    Type Description
    Vector4

    midSegmentA

    A pre-built holding: (mid.offsetX, mid.offsetY, mid.scaleX, mid.scaleY).

    Declaration
    public Vector4 midSegmentA { get; }
    Property Value
    Type Description
    Vector4

    midSegmentB

    A pre-built holding: (mid.lnA, mid.B, 0, 0).

    Declaration
    public Vector4 midSegmentB { get; }
    Property Value
    Type Description
    Vector4

    shoSegmentA

    A pre-built holding: (toe.offsetX, toe.offsetY, toe.scaleX, toe.scaleY).

    Declaration
    public Vector4 shoSegmentA { get; }
    Property Value
    Type Description
    Vector4

    shoSegmentB

    A pre-built holding: (sho.lnA, sho.B, 0, 0).

    Declaration
    public Vector4 shoSegmentB { get; }
    Property Value
    Type Description
    Vector4

    toeSegmentA

    A pre-built holding: (toe.offsetX, toe.offsetY, toe.scaleX, toe.scaleY).

    Declaration
    public Vector4 toeSegmentA { get; }
    Property Value
    Type Description
    Vector4

    toeSegmentB

    A pre-built holding: (toe.lnA, toe.B, 0, 0).

    Declaration
    public Vector4 toeSegmentB { get; }
    Property Value
    Type Description
    Vector4
    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Thursday, April 14, 2022
    Terms of use