docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Vector3ShaderProperty

    Vector3ShaderProperty(MaterialEditor, MaterialProperty, GUIContent)

    Draw an vector3 field for a vector shader property.

    Declaration
    public static void Vector3ShaderProperty(this MaterialEditor editor, MaterialProperty prop, GUIContent label)
    Parameters
    Type Name Description
    MaterialEditor editor

    MaterialEditor

    MaterialProperty prop

    The MaterialProperty to make a field for

    GUIContent label

    Label for the property

    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)