docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method DrawVector6

    DrawVector6(GUIContent, SerializedProperty, SerializedProperty, Vector3, Vector3, Color[], SerializedProperty, bool)

    Draw a Vector6 field

    Declaration
    public static void DrawVector6(GUIContent label, SerializedProperty positive, SerializedProperty negative, Vector3 min, Vector3 max, Color[] colors = null, SerializedProperty multiplicator = null, bool allowIntersection = true)
    Parameters
    Type Name Description
    GUIContent label

    The label

    SerializedProperty positive

    The data for +X, +Y and +Z

    SerializedProperty negative

    The data for -X, -Y and -Z

    Vector3 min

    Min clamping value along axis

    Vector3 max

    Max clamping value along axis

    Color[] colors

    [Optional] Color marks to use

    SerializedProperty multiplicator

    [Optional] multiplicator on the datas

    bool allowIntersection

    [Optional] Allow the face positive values to be smaller than negative ones and vice versa

    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)