docs.unity3d.com
    Show / Hide Table of Contents

    Class HableCurve.Uniforms

    An utility class to ease the binding of curve parameters to shaders.

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

    Properties

    curve

    Main curve settings, stored as (inverseWhitePoint, x0, x1, 0).

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

    midSegmentA

    Mid segment settings, stored as (offsetX, offsetY, scaleX, scaleY).

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

    midSegmentB

    Mid segment settings, stored as (ln1, B, 0, 0).

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

    shoSegmentA

    Shoulder segment settings, stored as (offsetX, offsetY, scaleX, scaleY).

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

    shoSegmentB

    Shoulder segment settings, stored as (ln1, B, 0, 0).

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

    toeSegmentA

    Toe segment settings, stored as (offsetX, offsetY, scaleX, scaleY).

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

    toeSegmentB

    Toe segment settings, stored as (ln1, B, 0, 0).

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

    Extension Methods

    ReflectionUtils.Invoke(Object, String, Object[])
    ReflectionUtils.SetField(Object, String, Object)
    ReflectionUtils.GetField(Object, String)
    ReflectionUtils.GetFields(Object)
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023