docs.unity3d.com
    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
    • Operator properties
    Back to top
    Terms of use
    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