docs.unity3d.com
Search Results for

    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.
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)