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

    Class AngleRangeController

    Inheritance
    System.Object
    AngleRangeController
    Namespace: UnityEditor.U2D
    Syntax
    public class AngleRangeController

    Properties

    angleOffset

    Declaration
    public float angleOffset { get; set; }
    Property Value
    Type Description
    System.Single

    cache

    Declaration
    public IAngleRangeCache cache { get; set; }
    Property Value
    Type Description
    IAngleRangeCache

    gradientMax

    Declaration
    public Color gradientMax { get; set; }
    Property Value
    Type Description
    Color

    gradientMid

    Declaration
    public Color gradientMid { get; set; }
    Property Value
    Type Description
    Color

    gradientMin

    Declaration
    public Color gradientMin { get; set; }
    Property Value
    Type Description
    Color

    radius

    Declaration
    public float radius { get; set; }
    Property Value
    Type Description
    System.Single

    rect

    Declaration
    public Rect rect { get; set; }
    Property Value
    Type Description
    Rect

    selectedAngleRange

    Declaration
    public AngleRange selectedAngleRange { get; }
    Property Value
    Type Description
    AngleRange

    snap

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

    view

    Declaration
    public IAngleRangeView view { get; set; }
    Property Value
    Type Description
    IAngleRangeView

    Methods

    CreateRange()

    Declaration
    public void CreateRange()

    OnGUI()

    Declaration
    public void OnGUI()

    RemoveInvalidRanges()

    Declaration
    public void RemoveInvalidRanges()

    SetRange(AngleRange, Single, Single)

    Declaration
    public void SetRange(AngleRange angleRange, float start, float end)
    Parameters
    Type Name Description
    AngleRange angleRange
    System.Single start
    System.Single end

    Events

    selectionChanged

    Declaration
    public event Action selectionChanged
    Event Type
    Type Description
    System.Action
    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