docs.unity.cn
    Show / Hide Table of Contents

    Sample Gradient

    Menu Path : Operator > Sampling > Sample Gradient

    The Sample Gradient Operator samples a gradient at a specified time between 0 and 1.

    Operator properties

    Input Type Description
    Gradient Gradient The gradient this Operator samples.
    Time float The time this Operator uses to sample the gradient. This value is clamped between 0 and 1.
    Output Type Description
    s Vector4 The sampled value from the gradient.
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on 07 July 2023