Struct ClipBackgroundRegion | Timeline | 1.2.18
docs.unity3d.com
    Show / Hide Table of Contents

    Struct ClipBackgroundRegion

    Description of the on-screen area where a clip is drawn

    Namespace: UnityEditor.Timeline
    Syntax
    public struct ClipBackgroundRegion

    Constructors

    ClipBackgroundRegion(Rect, Double, Double)

    Constructor

    Declaration
    public ClipBackgroundRegion(Rect _position, double _startTime, double _endTime)
    Parameters
    Type Name Description
    Rect _position
    Double _startTime
    Double _endTime

    Properties

    endTime

    The end time of the region, relative to the clip.

    Declaration
    public double endTime { get; }
    Property Value
    Type Description
    Double

    position

    The rectangle where the background of the clip is drawn.

    Declaration
    public Rect position { get; }
    Property Value
    Type Description
    Rect
    Remarks

    The rectangle is clipped to the screen. The rectangle does not include clip borders.

    startTime

    The start time of the region, relative to the clip.

    Declaration
    public double startTime { get; }
    Property Value
    Type Description
    Double

    Methods

    Equals(Object)

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

    Equals(ClipBackgroundRegion)

    Declaration
    public bool Equals(ClipBackgroundRegion other)
    Parameters
    Type Name Description
    ClipBackgroundRegion other
    Returns
    Type Description
    Boolean

    GetHashCode()

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

    Operators

    Equality(ClipBackgroundRegion, ClipBackgroundRegion)

    Declaration
    public static bool operator ==(ClipBackgroundRegion region1, ClipBackgroundRegion region2)
    Parameters
    Type Name Description
    ClipBackgroundRegion region1
    ClipBackgroundRegion region2
    Returns
    Type Description
    Boolean

    Inequality(ClipBackgroundRegion, ClipBackgroundRegion)

    Declaration
    public static bool operator !=(ClipBackgroundRegion region1, ClipBackgroundRegion region2)
    Parameters
    Type Name Description
    ClipBackgroundRegion region1
    ClipBackgroundRegion region2
    Returns
    Type Description
    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