docs.unity.cn
    Show / Hide Table of Contents

    Struct SliderData

    Represents transform data for a slider.

    Namespace: UnityEditor.U2D.Path.GUIFramework
    Syntax
    public struct SliderData
    Remarks

    Unity uses this data to position and orient the slider in the custom editor.

    Fields

    forward

    The slider's forward vector.

    Declaration
    public Vector3 forward
    Field Value
    Type Description
    Vector3

    position

    The slider's position.

    Declaration
    public Vector3 position
    Field Value
    Type Description
    Vector3

    right

    The slider's right vector.

    Declaration
    public Vector3 right
    Field Value
    Type Description
    Vector3

    up

    The slider's up vector.

    Declaration
    public Vector3 up
    Field Value
    Type Description
    Vector3

    zero

    zero definition for SliderData

    Declaration
    public static readonly SliderData zero
    Field Value
    Type Description
    SliderData
    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Tuesday, March 1, 2022
    Terms of use