Struct MarkerDrawOptions | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Struct MarkerDrawOptions

    The user-defined options for drawing a marker.

    Namespace: UnityEditor.Timeline
    Syntax
    public struct MarkerDrawOptions

    Properties

    errorText

    Text that indicates if the marker should display an error.

    Declaration
    public string errorText { get; set; }
    Property Value
    Type Description
    System.String
    Remarks

    If the error text is not empty or null, then the marker displays a warning. The error text is used as the tooltip.

    tooltip

    The tooltip for the marker.

    Declaration
    public string tooltip { get; set; }
    Property Value
    Type Description
    System.String

    Methods

    Equals(Object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    System.Object obj
    Returns
    Type Description
    System.Boolean
    Overrides
    System.ValueType.Equals(System.Object)

    Equals(MarkerDrawOptions)

    Declaration
    public bool Equals(MarkerDrawOptions other)
    Parameters
    Type Name Description
    MarkerDrawOptions other
    Returns
    Type Description
    System.Boolean

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32
    Overrides
    System.ValueType.GetHashCode()

    Operators

    Equality(MarkerDrawOptions, MarkerDrawOptions)

    Declaration
    public static bool operator ==(MarkerDrawOptions options1, MarkerDrawOptions options2)
    Parameters
    Type Name Description
    MarkerDrawOptions options1
    MarkerDrawOptions options2
    Returns
    Type Description
    System.Boolean

    Inequality(MarkerDrawOptions, MarkerDrawOptions)

    Declaration
    public static bool operator !=(MarkerDrawOptions options1, MarkerDrawOptions options2)
    Parameters
    Type Name Description
    MarkerDrawOptions options1
    MarkerDrawOptions options2
    Returns
    Type Description
    System.Boolean
    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