docs.unity.cn
    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 © 2022 Unity Technologies
    Generated by DocFX
    on 18 November 2022
    Terms of use