docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct SliderData

    Represents transform data for a slider.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: UnityEditor.U2D.Path.GUIFramework
    Assembly: Unity.2D.Path.Editor.dll
    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
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)