docs.unity3d.com
    Show / Hide Table of Contents

    Class AngleRangeGUI

    Inheritance
    Object
    AngleRangeGUI
    Namespace: UnityEditor.U2D
    Syntax
    public class AngleRangeGUI : object

    Fields

    kLeftHandleHashCode

    Declaration
    public static readonly int kLeftHandleHashCode
    Field Value
    Type Description
    Int32

    kRangeWidth

    Declaration
    public const float kRangeWidth = null
    Field Value
    Type Description
    Single

    kRightHandleHashCode

    Declaration
    public static readonly int kRightHandleHashCode
    Field Value
    Type Description
    Int32

    Methods

    AngleField(Rect, Int32, SerializedProperty, Single, Vector2, Single, Single, Single, Boolean, Boolean, Boolean, Handles.CapFunction)

    Declaration
    public static void AngleField(Rect r, int id, SerializedProperty property, float angleOffset, Vector2 handleOffset, float handleAngle, float handleSize, float radius, bool snap, bool drawLine, bool drawCircle, Handles.CapFunction drawCapFunction)
    Parameters
    Type Name Description
    Rect r
    Int32 id
    SerializedProperty property
    Single angleOffset
    Vector2 handleOffset
    Single handleAngle
    Single handleSize
    Single radius
    Boolean snap
    Boolean drawLine
    Boolean drawCircle
    Handles.CapFunction drawCapFunction

    AngleField(Rect, Int32, Single, Single, Vector2, Single, Single, Single, Boolean, Boolean, Boolean, Handles.CapFunction)

    Declaration
    public static float AngleField(Rect rect, int id, float angle, float angleOffset, Vector2 handleOffset, float handleAngle, float handleSize, float radius, bool snap, bool drawLine, bool drawCircle, Handles.CapFunction drawCapFunction)
    Parameters
    Type Name Description
    Rect rect
    Int32 id
    Single angle
    Single angleOffset
    Vector2 handleOffset
    Single handleAngle
    Single handleSize
    Single radius
    Boolean snap
    Boolean drawLine
    Boolean drawCircle
    Handles.CapFunction drawCapFunction
    Returns
    Type Description
    Single

    AngleField(Int32, SerializedProperty, Single, Vector2, Single, Single, Single, Boolean, Boolean, Boolean, Handles.CapFunction)

    Declaration
    public static void AngleField(int id, SerializedProperty property, float angleOffset, Vector2 handleOffset, float handleAngle, float handleSize, float radius, bool snap, bool drawLine, bool drawCircle, Handles.CapFunction drawCapFunction)
    Parameters
    Type Name Description
    Int32 id
    SerializedProperty property
    Single angleOffset
    Vector2 handleOffset
    Single handleAngle
    Single handleSize
    Single radius
    Boolean snap
    Boolean drawLine
    Boolean drawCircle
    Handles.CapFunction drawCapFunction

    AngleField(Int32, Single, Single, Vector2, Single, Single, Single, Boolean, Boolean, Boolean, Handles.CapFunction)

    Declaration
    public static float AngleField(int id, float angle, float angleOffset, Vector2 handleOffset, float handleAngle, float radius, float handleSize, bool snap, bool drawLine, bool drawCircle, Handles.CapFunction drawCapFunction)
    Parameters
    Type Name Description
    Int32 id
    Single angle
    Single angleOffset
    Vector2 handleOffset
    Single handleAngle
    Single radius
    Single handleSize
    Boolean snap
    Boolean drawLine
    Boolean drawCircle
    Handles.CapFunction drawCapFunction
    Returns
    Type Description
    Single

    AngleRangeField(Rect, SerializedProperty, SerializedProperty, Single, Single, Boolean, Boolean, Boolean, Color)

    Declaration
    public static void AngleRangeField(Rect rect, SerializedProperty startProperty, SerializedProperty endProperty, float angleOffset, float radius, bool snap, bool drawLine, bool drawCircle, Color rangeColor)
    Parameters
    Type Name Description
    Rect rect
    SerializedProperty startProperty
    SerializedProperty endProperty
    Single angleOffset
    Single radius
    Boolean snap
    Boolean drawLine
    Boolean drawCircle
    Color rangeColor

    AngleRangeField(Rect, Int32, Int32, ref Single, ref Single, Single, Single, Boolean, Boolean, Boolean, Color)

    Declaration
    public static void AngleRangeField(Rect rect, int leftHandleID, int rightHandleID, ref float start, ref float end, float angleOffset, float radius, bool snap, bool drawLine, bool drawCircle, Color rangeColor)
    Parameters
    Type Name Description
    Rect rect
    Int32 leftHandleID
    Int32 rightHandleID
    Single start
    Single end
    Single angleOffset
    Single radius
    Boolean snap
    Boolean drawLine
    Boolean drawCircle
    Color rangeColor

    AngleRangeField(Rect, ref Single, ref Single, Single, Single, Boolean, Boolean, Boolean, Color)

    Declaration
    public static void AngleRangeField(Rect rect, ref float start, ref float end, float angleOffset, float radius, bool snap, bool drawLine, bool drawCircle, Color rangeColor)
    Parameters
    Type Name Description
    Rect rect
    Single start
    Single end
    Single angleOffset
    Single radius
    Boolean snap
    Boolean drawLine
    Boolean drawCircle
    Color rangeColor
    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