docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method IsWindEnabled

    IsWindEnabled(Material)

    Checks the material for SpeedTree keywords to determine if the wind is enabled.

    Declaration
    public static bool IsWindEnabled(Material material)
    Parameters
    Type Name Description
    Material material

    Material to check

    Returns
    Type Description
    bool

    true if the material has a SpeedTree wind keyword that enables Vertex Shader wind animation and WindQuality other than None (0)

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)