Class ShapeEditorCache | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class ShapeEditorCache

    Inheritance
    System.Object
    ShapeEditorCache
    Namespace: UnityEditor.U2D
    Syntax
    public class ShapeEditorCache : ScriptableObject

    Properties

    instance

    Declaration
    public static ShapeEditorCache instance { get; }
    Property Value
    Type Description
    ShapeEditorCache

    leftTangent

    Declaration
    public Vector3 leftTangent { get; set; }
    Property Value
    Type Description
    Vector3

    rightTangent

    Declaration
    public Vector3 rightTangent { get; set; }
    Property Value
    Type Description
    Vector3

    rightTangentChanged

    Declaration
    public bool rightTangentChanged { get; set; }
    Property Value
    Type Description
    System.Boolean

    selection

    Declaration
    public ISelection selection { get; }
    Property Value
    Type Description
    ISelection

    Methods

    ClearSelection()

    Declaration
    public static void ClearSelection()

    GetSelection()

    Declaration
    public static ISelection GetSelection()
    Returns
    Type Description
    ISelection

    InvalidateCache()

    Declaration
    public static void InvalidateCache()

    IsValid()

    Declaration
    public static bool IsValid()
    Returns
    Type Description
    System.Boolean

    RecordUndo()

    Declaration
    public static void RecordUndo()

    RecordUndo(String)

    Declaration
    public static void RecordUndo(string undoName)
    Parameters
    Type Name Description
    System.String undoName
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023