docs.unity3d.com
    目次を表示する/隠す

    Class HableCurve.Segment

    Individual curve segment.

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

    Fields

    B

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

    Declaration
    public float B
    Field Value
    Type Description
    Single

    lnA

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

    Declaration
    public float lnA
    Field Value
    Type Description
    Single

    offsetX

    The offset of the segment on the X axis.

    Declaration
    public float offsetX
    Field Value
    Type Description
    Single

    offsetY

    The offset of the segment on the Y axis.

    Declaration
    public float offsetY
    Field Value
    Type Description
    Single

    scaleX

    The scale of the segment on the X axis.

    Declaration
    public float scaleX
    Field Value
    Type Description
    Single

    scaleY

    The scale of the segment on the Y axis.

    Declaration
    public float scaleY
    Field Value
    Type Description
    Single

    Methods

    Eval(Single)

    Evaluate a point on the curve.

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

    The point to evaluate.

    Returns
    Type Description
    Single

    The value of the curve, at the point specified.

    トップに戻る
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)